aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-02-17 11:37:38 +1030
committerAlan Modra <amodra@gmail.com>2020-02-17 13:14:00 +1030
commitdabec65da1b937ea40a30b7a844fbf91782b718a (patch)
treec7e082a8ba891bae9cdcaf26cc8849324cc9a7b2
parentbe70ff166e683fea2d78097d378020a8d3259189 (diff)
downloadgdb-dabec65da1b937ea40a30b7a844fbf91782b718a.zip
gdb-dabec65da1b937ea40a30b7a844fbf91782b718a.tar.gz
gdb-dabec65da1b937ea40a30b7a844fbf91782b718a.tar.bz2
Re: x86: Don't disable SSE4a when disabling SSE4
* i386-gen.c (cpu_flag_init): Correct last change.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-gen.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6eeddc7..908afdd 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2020-02-17 Alan Modra <amodra@gmail.com>
+
+ * i386-gen.c (cpu_flag_init): Correct last change.
+
2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Add CPU_ANY_SSE4A_FLAGS. Remove
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 45106bc..4074792 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -326,8 +326,6 @@ static initializer cpu_flag_init[] =
{ "CPU_ANY_SSE2_FLAGS",
"CPU_ANY_SSE3_FLAGS|CpuSSE2" },
{ "CPU_ANY_SSE3_FLAGS",
- { "CPU_ANY_SSE4A_FLAGS",
- "CPU_ANY_SSE3_FLAGS|CpuSSE4a" },
"CPU_ANY_SSSE3_FLAGS|CpuSSE3|CpuSSE4a" },
{ "CPU_ANY_SSSE3_FLAGS",
"CPU_ANY_SSE4_1_FLAGS|CpuSSSE3" },
@@ -335,6 +333,8 @@ static initializer cpu_flag_init[] =
"CPU_ANY_SSE4_2_FLAGS|CpuSSE4_1" },
{ "CPU_ANY_SSE4_2_FLAGS",
"CpuSSE4_2" },
+ { "CPU_ANY_SSE4A_FLAGS",
+ "CPU_ANY_SSE3_FLAGS|CpuSSE4a" },
{ "CPU_ANY_AVX_FLAGS",
"CPU_ANY_AVX2_FLAGS|CpuF16C|CpuFMA|CpuFMA4|CpuXOP|CpuAVX" },
{ "CPU_ANY_AVX2_FLAGS",