]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
IBM zSystems: Add support for z16 as CPU name.
authorAndreas Krebbel <krebbel@linux.ibm.com>
Thu, 7 Apr 2022 05:45:49 +0000 (07:45 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Thu, 7 Apr 2022 05:54:29 +0000 (07:54 +0200)
So far z16 was identified as arch14. After the machine has been
announced we can now add the real name.

gas/ChangeLog:

* config/tc-s390.c (s390_parse_cpu): Add z16 as alternate CPU
name.
* doc/as.texi: Add z16 and arch14 to CPU string list.
* doc/c-s390.texi: Add z16 to CPU string list.

opcodes/ChangeLog:

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

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

index 0a88e7f32a6cd5c9e12556f8b6cc316a70e7bc29..54abdfb578411dcada279f5418bb9a2b21082261 100644 (file)
@@ -1,3 +1,10 @@
+2022-04-07  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * config/tc-s390.c (s390_parse_cpu): Add z16 as alternate CPU
+       name.
+       * doc/as.texi: Add z16 and arch14 to CPU string list.
+       * doc/c-s390.texi: Add z16 to CPU string list.
+
 2022-04-06  Nick Clifton  <nickc@redhat.com>
 
        PR 28981
index f192a786f320f43954ffae7c6899762e0772988a..4af635beac34804b0d3f21f7b10eb4b681296ad6 100644 (file)
@@ -293,7 +293,7 @@ s390_parse_cpu (const char *arg,
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
     { STRING_COMMA_LEN ("z15"), STRING_COMMA_LEN ("arch13"),
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
-    { STRING_COMMA_LEN (""), STRING_COMMA_LEN ("arch14"),
+    { STRING_COMMA_LEN ("z16"), STRING_COMMA_LEN ("arch14"),
       S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
   };
   static struct
index 9a7db3fb81f9b5571a645948ab24a9c59ab1e263..09b0ca5f565c7c44d4a7bd7fcd8754534386746b 100644 (file)
@@ -1897,8 +1897,8 @@ 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}), @samp{z14} (or @samp{arch12}), or @samp{z15}
-(or @samp{arch13}).
+@samp{z13} (or @samp{arch11}), @samp{z14} (or @samp{arch12}), @samp{z15}
+(or @samp{arch13}), or @samp{z16} (or @samp{arch14}).
 @item -mregnames
 @itemx -mno-regnames
 Allow or disallow symbolic names for registers.
index edd9737066d85893157a194d92b53d9470b5ab8f..c51b5a14ec8a55adee67f2d577c62663a965aa51 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), z14 (or arch12), z15 (or arch13), or arch14.
+(or arch11), z14 (or arch12), z15 (or arch13), or z16 (or arch14).
 
 @menu
 * s390 Options::                Command-line Options.
@@ -72,7 +72,7 @@ are recognized:
 @code{z13} (or @code{arch11}),
 @code{z14} (or @code{arch12}),
 @code{z15} (or @code{arch13}), and
-@code{arch14}.
+@code{z16} (or @code{arch14}).
 
 Assembling an instruction that is not supported on the target
 processor results in an error message.
index a16a93749d77c1889d91035b5e3b428dddb82af1..3d9f4a14532583cccffbc897ee7152b5c46a119b 100644 (file)
@@ -1,3 +1,8 @@
+2022-04-07  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       * s390-mkopc.c (main): Enable z16 as CPU string in the opcode
+       table.
+
 2022-03-16  Simon Marchi  <simon.marchi@efficios.com>
 
        * configure.ac: Handle bfd_amdgcn_arch.
index 9fb67847b80b128d43ee19ba08e5d98c98ce2e85..c795895f48cfbde2171bdc0d68c07ad660af9f57 100644 (file)
@@ -381,7 +381,8 @@ main (void)
       else if (strcmp (cpu_string, "z15") == 0
               || strcmp (cpu_string, "arch13") == 0)
        min_cpu = S390_OPCODE_ARCH13;
-      else if (strcmp (cpu_string, "arch14") == 0)
+      else if (strcmp (cpu_string, "z16") == 0
+              || strcmp (cpu_string, "arch14") == 0)
        min_cpu = S390_OPCODE_ARCH14;
       else {
        fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);