diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-02 21:43:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-02 21:43:34 +0000 |
commit | 582d5eddfe4a3e1d644c473f30a1c1e85c665743 (patch) | |
tree | 392e6091dd2db1de46a080a8ec797ddc82e07aff /gas/config/tc-i386.h | |
parent | 6c7ac64e1764d0feff5d87ee849652d69f4381ae (diff) | |
download | gdb-582d5eddfe4a3e1d644c473f30a1c1e85c665743.zip gdb-582d5eddfe4a3e1d644c473f30a1c1e85c665743.tar.gz gdb-582d5eddfe4a3e1d644c473f30a1c1e85c665743.tar.bz2 |
gas/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.
* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.
* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.
* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.
* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index bf27842..2feee31 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -116,12 +116,14 @@ extern const char *i386_comment_chars; #define IMMEDIATE_PREFIX '$' #define ABSOLUTE_PREFIX '*' -/* these are the instruction mnemonic suffixes. */ +/* these are the instruction mnemonic suffixes in AT&T syntax or + memory operand size in Intel syntax. */ #define WORD_MNEM_SUFFIX 'w' #define BYTE_MNEM_SUFFIX 'b' #define SHORT_MNEM_SUFFIX 's' #define LONG_MNEM_SUFFIX 'l' #define QWORD_MNEM_SUFFIX 'q' +#define XMMWORD_MNEM_SUFFIX 'x' /* Intel Syntax. Use a non-ascii letter since since it never appears in instructions. */ #define LONG_DOUBLE_MNEM_SUFFIX '\1' |