diff options
author | H.J. Lu <hjl@lucon.org> | 2008-04-22 22:27:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2008-04-22 22:27:13 +0000 |
commit | a038f229206a08c4910eb2b96946eea655a9e529 (patch) | |
tree | 6e99df07b28af9f6b020873a830273e7790653c0 /opcodes/i386-opc.h | |
parent | 7732d916a72927ce3d3e9fdd0505dc4bb7f365d2 (diff) | |
download | binutils-redhat-a038f229206a08c4910eb2b96946eea655a9e529.tar.gz |
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 a3dd863775..c2643d2f51 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; |