aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2003-07-01 14:47:58 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2003-07-01 14:47:58 +0000
commitbac02689134af31146797f2ffa0217af7414acf0 (patch)
tree5e3114c5d62bf0e4dd8beca477119be21895f690 /opcodes/s390-mkopc.c
parentc72a8f697c87067b3e157a93ad6a1f4c4e019af2 (diff)
downloadgdb-bac02689134af31146797f2ffa0217af7414acf0.zip
gdb-bac02689134af31146797f2ffa0217af7414acf0.tar.gz
gdb-bac02689134af31146797f2ffa0217af7414acf0.tar.bz2
* s390-dis.c (s390_extract_operand): Add support for long displacements.
* s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990. * s390-opc.c (D20_20): Add define for 20 bit displacements. (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD, INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add new instruction formats. (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD, MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise. (s390_opformats): Likewise. * s390-opc.txt: Add new instructions for cpu type z990. Add missing hfp instructions. Add missing instructions pgin, pgout and xsch.
Diffstat (limited to 'opcodes/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index caa9993..34188e6 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -34,7 +34,8 @@ enum s390_opcode_cpu_val
{
S390_OPCODE_G5 = 0,
S390_OPCODE_G6,
- S390_OPCODE_Z900
+ S390_OPCODE_Z900,
+ S390_OPCODE_Z990
};
struct op_struct
@@ -192,6 +193,8 @@ main (void)
min_cpu = S390_OPCODE_G6;
else if (strcmp (cpu_string, "z900") == 0)
min_cpu = S390_OPCODE_Z900;
+ else if (strcmp (cpu_string, "z990") == 0)
+ min_cpu = S390_OPCODE_Z990;
else {
fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);
exit (1);