aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2024-10-08 12:04:31 +0200
committerJens Remus <jremus@linux.ibm.com>2024-10-24 11:17:12 +0200
commit00abcf3993039a4da4df92d74973c3aba7447f98 (patch)
tree94e96c10f2e7bc6d4d2d993087877d7c9e01721f /opcodes/s390-mkopc.c
parentcaf72067a77a36998b16acc84005e23b26268dd7 (diff)
downloadfsf-binutils-gdb-binutils-2_42-branch.zip
fsf-binutils-gdb-binutils-2_42-branch.tar.gz
fsf-binutils-gdb-binutils-2_42-branch.tar.bz2
s390: Add arch15 instructionsbinutils-2_42-branch
opcodes/ * s390-mkopc.c (main) Accept arch15 as CPU string. * s390-opc.txt: Add arch15 instructions. include/ * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_ARCH15. gas/ * config/tc-s390.c (s390_parse_cpu): New entry for arch15. * doc/c-s390.texi: Document arch15 march option. * doc/as.texi: Likewise. * testsuite/gas/s390/s390.exp: Run the arch15 related tests. * testsuite/gas/s390/zarch-arch15.d: Tests for arch15 instructions. * testsuite/gas/s390/zarch-arch15.s: Likewise. Signed-off-by: Andreas Krebbel <krebbel@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.ibm.com> (cherry picked from commit a98a6fa2d8ef5eb61534b07db80850dcdf07bdb4)
Diffstat (limited to 'opcodes/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index 1f5729a..8251884 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -443,6 +443,8 @@ main (void)
else if (strcmp (cpu_string, "z16") == 0
|| strcmp (cpu_string, "arch14") == 0)
min_cpu = S390_OPCODE_ARCH14;
+ else if (strcmp (cpu_string, "arch15") == 0)
+ min_cpu = S390_OPCODE_ARCH15;
else {
print_error ("Mnemonic \"%s\": Couldn't parse CPU string: %s\n",
mnemonic, cpu_string);