summaryrefslogtreecommitdiffstats
path: root/include/opcode/s390.h
diff options
context:
space:
mode:
authorcvs2svn <>2003-03-25 20:56:02 +0000
committercvs2svn <>2003-03-25 20:56:02 +0000
commit8ed0d1ced5ea081b1d3091e2c04b595c555f98b5 (patch)
treeea38f9f8b487e1418fd862abc010e40b283b461c /include/opcode/s390.h
parenteb5090421a0452e1519c10734dac03c9cee39a58 (diff)
downloadcygnal-8ed0d1ced5ea081b1d3091e2c04b595c555f98b5.tar.gz
cygnal-8ed0d1ced5ea081b1d3091e2c04b595c555f98b5.tar.bz2
cygnal-8ed0d1ced5ea081b1d3091e2c04b595c555f98b5.zip
This commit was manufactured by cvs2svn to create branchcagney_framebase-20030326-branchpoint
'cagney_framebase-20030326-branch'. Sprout from cagney_lazyid-20030317-branch 2003-03-17 10:34:30 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2003-03-25 20:56:01 UTC Nick Clifton <nickc@redhat.com> 'Add iWMMXt support': include/ChangeLog include/ansidecl.h include/coff/ChangeLog include/coff/arm.h include/elf/ChangeLog include/elf/arm.h include/gdb/ChangeLog include/gdb/sim-arm.h include/hashtab.h include/opcode/ChangeLog include/opcode/s390.h
Diffstat (limited to 'include/opcode/s390.h')
-rw-r--r--include/opcode/s390.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/include/opcode/s390.h b/include/opcode/s390.h
index 1a42be660..6e32723b2 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