aboutsummaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2005-08-12 18:03:03 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2005-08-12 18:03:03 +0000
commitad101263eb67421b32fea6d27c056a7b3c3ada83 (patch)
tree121137d8c377a072432993023e9fb567300ae86c /opcodes/s390-mkopc.c
parent8c9295623d9af7136468861cfbf445720bf9871e (diff)
downloadgdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.zip
gdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.tar.gz
gdb-ad101263eb67421b32fea6d27c056a7b3c3ada83.tar.bz2
* s390-dis.c (print_insn_s390): Print unsigned operands with %u.
* s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z9-109. (main): Likewise. * s390-opc.c (I32_16, U32_16, M_16): Add defines 32 bit immediates and 4 bit optional masks. (INSTR_RIL_RI, INSTR_RIL_RU, INSTR_RRF_M0RR, INSTR_RSE_CCRD, INSTR_RSY_CCRD, INSTR_SSF_RRDRD): Add new instruction formats. (MASK_RIL_RI, MASK_RIL_RU, MASK_RRF_M0RR, MASK_RSE_CCRD, MASK_RSY_CCRD, MASK_SSF_RRDRD): Likewise. (s390_opformats): Likewise. * s390-opc.txt: Add new instructions for cpu type z9-109.
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 8a32630..5a794fd 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -35,7 +35,8 @@ enum s390_opcode_cpu_val
S390_OPCODE_G5 = 0,
S390_OPCODE_G6,
S390_OPCODE_Z900,
- S390_OPCODE_Z990
+ S390_OPCODE_Z990,
+ S390_OPCODE_Z9_109
};
struct op_struct
@@ -195,6 +196,8 @@ main (void)
min_cpu = S390_OPCODE_Z900;
else if (strcmp (cpu_string, "z990") == 0)
min_cpu = S390_OPCODE_Z990;
+ else if (strcmp (cpu_string, "z9-109") == 0)
+ min_cpu = S390_OPCODE_Z9_109;
else {
fprintf (stderr, "Couldn't parse cpu string %s\n", cpu_string);
exit (1);