aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
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/s390-mkopc.c
parent5f0b6b77f11ca1484b69babd7ab6729ebbc447ee (diff)
downloadgdb-69341966def7f6551bc4452684136831d6a6941c.zip
gdb-69341966def7f6551bc4452684136831d6a6941c.tar.gz
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/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c3
1 files changed, 2 insertions, 1 deletions
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);