diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2003-03-21 13:26:21 +0000 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2003-03-21 13:26:21 +0000 |
commit | 1bd490c46b5a3d1313f60553d9a7d4c329bd26e9 (patch) | |
tree | 44bad980b6397b23e4a48cf34731fe827a6bf0a0 | |
parent | 37a5879375bfe3f90b13dbea80813e501ca61b0f (diff) | |
download | gdb-1bd490c46b5a3d1313f60553d9a7d4c329bd26e9.zip gdb-1bd490c46b5a3d1313f60553d9a7d4c329bd26e9.tar.gz gdb-1bd490c46b5a3d1313f60553d9a7d4c329bd26e9.tar.bz2 |
* s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val.
(S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH.
(s390_opcode): Remove architecture. Add modes and min_cpu.
-rw-r--r-- | include/opcode/ChangeLog | 6 | ||||
-rw-r--r-- | include/opcode/s390.h | 18 |
2 files changed, 20 insertions, 4 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 53adca3..35c97a6 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,9 @@ +2003-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * s390.h (s390_opcode_arch_val): Rename to s390_opcode_mode_val. + (S390_OPCODE_ESAME): Rename to S390_OPCODE_ZARCH. + (s390_opcode): Remove architecture. Add modes and min_cpu. + 2003-03-17 D.Venkatasubramanian <dvenkat@noida.hcltech.com> * h8300.h (O_SYS_CMDLINE): New pseudo opcode for command line diff --git a/include/opcode/s390.h b/include/opcode/s390.h index 1a42be6..6e32723 100644 --- a/include/opcode/s390.h +++ b/include/opcode/s390.h @@ -24,10 +24,17 @@ /* List of instruction sets variations. */ -enum s390_opcode_arch_val +enum s390_opcode_mode_val { S390_OPCODE_ESA = 0, - S390_OPCODE_ESAME + S390_OPCODE_ZARCH + }; + +enum s390_opcode_cpu_val + { + S390_OPCODE_G5 = 0, + S390_OPCODE_G6, + S390_OPCODE_Z900 }; /* The opcode table is an array of struct s390_opcode. */ @@ -55,8 +62,11 @@ struct s390_opcode appear in assembly code, and are terminated by a zero. */ unsigned char operands[6]; - /* Bitmask of architectures this opcode is available for. */ - unsigned int architecture; + /* Bitmask of execution modes this opcode is available for. */ + unsigned int modes; + + /* First cpu this opcode is available for. */ + enum s390_opcode_cpu_val min_cpu; }; /* The table itself is sorted by major opcode number, and is otherwise |