diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-02 23:54:47 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-02 23:54:47 +0000 |
commit | d978b5be20c2584a9a4b58b1292c191a950f04e5 (patch) | |
tree | 478389a3263b1bc76755e8cc688629475d280ac1 /opcodes/i386-opc.h | |
parent | cb29561284eaa37c5c8967e49a5db0a4064368bf (diff) | |
download | gdb-d978b5be20c2584a9a4b58b1292c191a950f04e5.zip gdb-d978b5be20c2584a9a4b58b1292c191a950f04e5.tar.gz gdb-d978b5be20c2584a9a4b58b1292c191a950f04e5.tar.bz2 |
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 12605dd..9038730 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -175,7 +175,7 @@ typedef union i386_cpu_flags #define Size32 (Size16 + 1) /* needs size prefix if in 64-bit mode */ #define Size64 (Size32 + 1) -/* instruction ignores operand size prefix */ +/* instruction ignores operand size prefix and mnemonic size suffix */ #define IgnoreSize (Size64 + 1) /* default insn size depends on mode */ #define DefaultSize (IgnoreSize + 1) @@ -193,7 +193,8 @@ typedef union i386_cpu_flags #define No_ldSuf (No_qSuf + 1) /* x suffix on instruction illegal */ #define No_xSuf (No_ldSuf + 1) -/* check PTR size on instruction */ +/* check PTR size on instruction in Intel mode. + FIXME: Can it be merged with IgnoreSize? */ #define CheckSize (No_xSuf + 1) /* BYTE PTR on instruction */ #define Byte (CheckSize + 1) @@ -202,9 +203,9 @@ typedef union i386_cpu_flags /* DWORD PTR on instruction */ #define Dword (Word + 1) /* QWORD PTR on instruction */ -#define QWord (Dword + 1) +#define Qword (Dword + 1) /* XMMWORD PTR on instruction */ -#define Xmmword (QWord + 1) +#define Xmmword (Qword + 1) /* instruction needs FWAIT */ #define FWait (Xmmword + 1) /* quick test for string instructions */ |