aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.ibm.com>2019-01-31 17:01:27 +0100
committerAndreas Krebbel <krebbel@linux.ibm.com>2019-01-31 17:32:18 +0100
commitfc60b8c806a641cc2260c8b26f389f2abdc99dda (patch)
tree59e9031056dd9138abc88c06dd8d41cf4e584f35 /gas/config
parent3ca4a8eca78b4d5e3fa308dbd21c67ebef09a261 (diff)
downloadgdb-fc60b8c806a641cc2260c8b26f389f2abdc99dda.zip
gdb-fc60b8c806a641cc2260c8b26f389f2abdc99dda.tar.gz
gdb-fc60b8c806a641cc2260c8b26f389f2abdc99dda.tar.bz2
S/390: Implement instruction set extensions
opcodes/ChangeLog: 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com> * s390-mkopc.c (main): Accept arch13 as cpu string. * s390-opc.c: Add new instruction formats and instruction opcode masks. * s390-opc.txt: Add new arch13 instructions. include/ChangeLog: 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com> * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_ARCH13. gas/ChangeLog: 2019-01-31 Andreas Krebbel <krebbel@linux.ibm.com> * config/tc-s390.c (s390_parse_cpu): New entry for arch13. * doc/c-s390.texi: Document arch13 march option. * testsuite/gas/s390/s390.exp: Run the arch13 related tests. * testsuite/gas/s390/zarch-arch13.d: New test. * testsuite/gas/s390/zarch-arch13.s: New test. * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics also for z13.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-s390.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 33f1c00..f74497a 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -290,6 +290,8 @@ s390_parse_cpu (const char * arg,
{ STRING_COMMA_LEN ("z13"), STRING_COMMA_LEN ("arch11"),
S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
{ STRING_COMMA_LEN ("z14"), STRING_COMMA_LEN ("arch12"),
+ S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX },
+ { STRING_COMMA_LEN (""), STRING_COMMA_LEN ("arch13"),
S390_INSTR_FLAG_HTM | S390_INSTR_FLAG_VX }
};
static struct