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 /gas | |
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 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f75e87a..3547186 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +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. + 2008-04-18 David S. Miller <davem@davemloft.net> * doc/c-sparc.texi: Add syntax section. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 1facc02..fde9acd 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -2670,6 +2670,7 @@ md_assemble (char *line) return; if (sse_check != sse_check_none + && !i.tm.opcode_modifier.noavx && (i.tm.cpu_flags.bitfield.cpusse || i.tm.cpu_flags.bitfield.cpusse2 || i.tm.cpu_flags.bitfield.cpusse3 |