2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 18 Mar 2011 09:54:58 +0000 (09:54 +0000)
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 18 Mar 2011 09:54:58 +0000 (09:54 +0000)
* config/tc-s390.c (md_parse_option): Add -march=all option which
switches to the highest available CPU.

gas/ChangeLog
gas/config/tc-s390.c

index 6a73a0c1f48a691c619c87ed8faa3b4178d123fa..33e0305380b05841cd68cb5346490573730490e1 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/tc-s390.c (md_parse_option): Add -march=all option which
+       switches to the highest available CPU.
+
 2011-03-17  Alan Modra  <amodra@gmail.com>
 
        PR 12569
index ca7ad3b58d7765a52b28c19056060283ce04a27e..37c0e4d18cff677a301959e28feaa199c2a24881 100644 (file)
@@ -398,6 +398,8 @@ md_parse_option (int c, char *arg)
            current_cpu = S390_OPCODE_Z10;
          else if (strcmp (arg + 5, "z196") == 0)
            current_cpu = S390_OPCODE_Z196;
+         else if (strcmp (arg + 5, "all") == 0)
+           current_cpu = S390_OPCODE_MAXCPU - 1;
          else
            {
              as_bad (_("invalid switch -m%s"), arg);
This page took 0.039173 seconds and 4 git commands to generate.