aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-init.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-02-16 08:36:51 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-02-16 08:45:34 -0800
commitaf5c13b01ecc416d26321a2d60943d787ba24c7f (patch)
treeb0e6fc6295a084b1c2a14340722b09300fe8ea35 /opcodes/i386-init.h
parent5de9bb826dd155601da1e5e34060a1e7e443eee8 (diff)
downloadgdb-af5c13b01ecc416d26321a2d60943d787ba24c7f.zip
gdb-af5c13b01ecc416d26321a2d60943d787ba24c7f.tar.gz
gdb-af5c13b01ecc416d26321a2d60943d787ba24c7f.tar.bz2
x86: Don't disable SSE4a when disabling SSE4
commit 7deea9aad8 changed nosse4 to include CpuSSE4a. But AMD SSE4a is a superset of SSE3 and Intel SSE4 is a superset of SSSE3. Disable Intel SSE4 shouldn't disable AMD SSE4a. This patch restores nosse4. It also adds .sse4a and nosse4a. gas/ * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore nosse4. * doc/c-i386.texi: Document sse4a and nosse4a. opcodes/ * i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove CPU_ANY_SSE4_FLAGS.
Diffstat (limited to 'opcodes/i386-init.h')
-rw-r--r--opcodes/i386-init.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index 8ecf11719..d4674fc 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -1170,9 +1170,9 @@
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
-#define CPU_ANY_SSE4_FLAGS \
+#define CPU_ANY_SSE4A_FLAGS \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
- 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
+ 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \