aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2022-04-07 07:45:49 +0200
committerAndreas Krebbel <krebbel@linux.ibm.com>2022-04-07 07:54:29 +0200
commit69341966def7f6551bc4452684136831d6a6941c (patch)
treebcd6bb95c35709b35ef0dca8e8a62f6aa38cc4ab /opcodes
parent5f0b6b77f11ca1484b69babd7ab6729ebbc447ee (diff)
downloadfsf-binutils-gdb-69341966def7f6551bc4452684136831d6a6941c.zip
fsf-binutils-gdb-69341966def7f6551bc4452684136831d6a6941c.tar.gz
fsf-binutils-gdb-69341966def7f6551bc4452684136831d6a6941c.tar.bz2
IBM zSystems: Add support for z16 as CPU name.
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.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/s390-mkopc.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index a16a937..3d9f4a1 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -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.
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index 9fb6784..c795895 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -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);