]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
S/390: Support z14 as CPU name.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 1 Aug 2017 08:56:59 +0000 (10:56 +0200)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 1 Aug 2017 08:58:28 +0000 (10:58 +0200)
With IBM z14 officially announced I can add z14 as CPU name.

No regressions with that patch on s390x.

gas/ChangeLog:

2017-08-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2017-07-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
name.
* doc/as.texinfo: Add z14 to CPU string list.
* doc/c-s390.texi: Likewise.

opcodes/ChangeLog:

2017-08-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2017-07-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* s390-mkopc.c (main): Enable z14 as CPU string in the opcode
table.

gas/ChangeLog
gas/config/tc-s390.c
gas/doc/as.texinfo
gas/doc/c-s390.texi
opcodes/ChangeLog
opcodes/s390-mkopc.c

index ee0d00c34da9934c3847b760e3eb22d6b9ba0b77..948f23662cac8ad67adb66809e4c937cf42b0ff3 100644 (file)
@@ -1,3 +1,13 @@
+2017-08-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       Backport from mainline
+       2017-07-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/tc-s390.c (s390_parse_cpu): Add z14 as alternate CPU
+       name.
+       * doc/as.texinfo: Add z14 to CPU string list.
+       * doc/c-s390.texi: Likewise.
+
 2017-07-24  Tristan Gingold  <gingold@adacore.com>
 
        * configure: Regenerate.
index 3ec5a2775c1d586718c262fbe7f99fd399284be2..84b2e270e96bdd7b88572af8b4b2e9b410a0d78e 100644 (file)
@@ -290,7 +290,7 @@ s390_parse_cpu (const char *         arg,
       S390_INSTR_FLAG_HTM },
     { STRING_COMMA_LEN ("z13"), STRING_COMMA_LEN ("arch11"),
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
-    { STRING_COMMA_LEN ("arch12"), STRING_COMMA_LEN (""),
+    { STRING_COMMA_LEN ("z14"), STRING_COMMA_LEN ("arch12"),
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
   };
   static struct
index e0637c71491fc5b307a2a95d82fa7bdde5f11039..b82204dfdf773de3a3f6f293e350f4e31c72cf0e 100644 (file)
@@ -1740,7 +1740,7 @@ Specify which s390 processor variant is the target, @samp{g5} (or
 @samp{arch3}), @samp{g6}, @samp{z900} (or @samp{arch5}), @samp{z990} (or
 @samp{arch6}), @samp{z9-109}, @samp{z9-ec} (or @samp{arch7}), @samp{z10} (or
 @samp{arch8}), @samp{z196} (or @samp{arch9}), @samp{zEC12} (or @samp{arch10}),
-@samp{z13} (or @samp{arch11}), or @samp{arch12}.
+@samp{z13} (or @samp{arch11}), or @samp{z14} (or @samp{arch12}).
 @item -mregnames
 @itemx -mno-regnames
 Allow or disallow symbolic names for registers.
index 2f417cb94c235f036eb5a773b7e944093cc22d3a..a50d7266b2b9decd59b72e24baabb4651c74ef59 100644 (file)
@@ -18,7 +18,7 @@ and eleven chip levels. The architecture modes are the Enterprise System
 Architecture (ESA) and the newer z/Architecture mode. The chip levels
 are g5 (or arch3), g6, z900 (or arch5), z990 (or arch6), z9-109, z9-ec
 (or arch7), z10 (or arch8), z196 (or arch9), zEC12 (or arch10), z13
-(or arch11), and arch12.
+(or arch11), and z14 (or arch12).
 
 @menu
 * s390 Options::                Command-line Options.
index e535ba487a3a70299d668021a60246abf92eb00a..df549d749ddc279212315e03c04de55a60538f63 100644 (file)
@@ -1,3 +1,11 @@
+2017-08-01  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       Backport from mainline
+       2017-07-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * s390-mkopc.c (main): Enable z14 as CPU string in the opcode
+       table.
+
 2017-07-24  Tristan Gingold  <gingold@adacore.com>
 
        * configure: Regenerate.
index 0d4c9df777a45de0283f24c6a8b9762a8d9ad4d0..20c15399a7fbb5d726ed53301d8c782f9a73ba77 100644 (file)
@@ -374,7 +374,8 @@ main (void)
       else if (strcmp (cpu_string, "z13") == 0
               || strcmp (cpu_string, "arch11") == 0)
        min_cpu = S390_OPCODE_Z13;
-      else if (strcmp (cpu_string, "arch12") == 0)
+      else if (strcmp (cpu_string, "z14") == 0
+              || strcmp (cpu_string, "arch12") == 0)
        min_cpu = S390_OPCODE_ARCH12;
       else {
        fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);