From dabec65da1b937ea40a30b7a844fbf91782b718a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 17 Feb 2020 11:37:38 +1030 Subject: [PATCH] Re: x86: Don't disable SSE4a when disabling SSE4 * i386-gen.c (cpu_flag_init): Correct last change. --- opcodes/ChangeLog | 4 ++++ opcodes/i386-gen.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6eeddc7f0f4..908afdd9a02 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2020-02-17 Alan Modra + + * i386-gen.c (cpu_flag_init): Correct last change. + 2020-02-16 H.J. Lu * 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 45106bcf6d4..407479261cd 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", -- 2.30.2