diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-04-22 22:27:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-04-22 22:27:13 +0000 |
commit | 81f8a9131af3c8077f577a91c73a8503a098b161 (patch) | |
tree | d782654578a7ed36feb902ff94b15b3aaab679ea /opcodes/i386-opc.h | |
parent | 0bcd01498323a6a1e57649094d06a76433bc1160 (diff) | |
download | gdb-81f8a9131af3c8077f577a91c73a8503a098b161.zip gdb-81f8a9131af3c8077f577a91c73a8503a098b161.tar.gz gdb-81f8a9131af3c8077f577a91c73a8503a098b161.tar.bz2 |
gas/
2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Don't check SSE instructions
if noavx is 0.
opcodes/
2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Add NoAVX.
* i386-opc.h (NoAVX): New.
(OldGcc): Updated.
(i386_opcode_modifier): Add noavx.
* i386-opc.tbl: Add NoAVX to SSE, SSE2, SSE3 and SSSE3
instructions which don't have AVX equivalent.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index a3dd863..c2643d2 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -261,8 +261,10 @@ typedef union i386_cpu_flags #define VexImmExt (Vex3Sources + 1) /* SSE to AVX support required */ #define SSE2AVX (VexImmExt + 1) +/* No AVX equivalent */ +#define NoAVX (SSE2AVX + 1) /* Compatible with old (<= 2.8.1) versions of gcc */ -#define OldGcc (SSE2AVX + 1) +#define OldGcc (NoAVX + 1) /* AT&T mnemonic. */ #define ATTMnemonic (OldGcc + 1) /* AT&T syntax. */ @@ -325,6 +327,7 @@ typedef struct i386_opcode_modifier unsigned int vex3sources:1; unsigned int veximmext:1; unsigned int sse2avx:1; + unsigned int noavx:1; unsigned int oldgcc:1; unsigned int attmnemonic:1; unsigned int attsyntax:1; |