projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Accept Intel64 only instruction by default
[deliverable/binutils-gdb.git]
/
opcodes
/
i386-opc.h
diff --git
a/opcodes/i386-opc.h
b/opcodes/i386-opc.h
index cdc7cb23e8c4880d76a8446132ff2d6c66c844f4..ecd441e99cb31adc15f00649666f0ac17e066f63 100644
(file)
--- a/
opcodes/i386-opc.h
+++ b/
opcodes/i386-opc.h
@@
-638,10
+638,16
@@
enum
ATTSyntax,
/* Intel syntax. */
IntelSyntax,
ATTSyntax,
/* Intel syntax. */
IntelSyntax,
- /* AMD64. */
- AMD64,
- /* Intel64. */
- Intel64,
+ /* ISA64: Don't change the order without other code adjustments.
+ 0: Common to AMD64 and Intel64.
+ 1: AMD64.
+ 2: Intel64.
+ 3: Only in Intel64.
+ */
+#define AMD64 1
+#define INTEL64 2
+#define INTEL64ONLY 3
+ ISA64,
/* The last bitfield in i386_opcode_modifier. */
Opcode_Modifier_Num
};
/* The last bitfield in i386_opcode_modifier. */
Opcode_Modifier_Num
};
@@
-705,8
+711,7
@@
typedef struct i386_opcode_modifier
unsigned int attmnemonic:1;
unsigned int attsyntax:1;
unsigned int intelsyntax:1;
unsigned int attmnemonic:1;
unsigned int attsyntax:1;
unsigned int intelsyntax:1;
- unsigned int amd64:1;
- unsigned int intel64:1;
+ unsigned int isa64:2;
} i386_opcode_modifier;
/* Operand classes. */
} i386_opcode_modifier;
/* Operand classes. */
This page took
0.029098 seconds
and
4
git commands to generate.