aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c1
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