From: H.J. Lu Date: Mon, 17 Feb 2020 04:10:20 +0000 (-0800) Subject: x86: Don't disable SSE3 when disabling SSE4a X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce504911e5c4068a3498eebde4064b24382c7598;p=binutils-gdb.git x86: Don't disable SSE3 when disabling SSE4a Since SSE3 is independent of SSE4a, don't disable SSE3 when disabling SSE4a. * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from CPU_ANY_SSE4A_FLAGS. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 908afdd9a02..9d02fc45e7c 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2020-02-16 H.J. Lu + + * i386-gen.c (cpu_flag_init): Remove CPU_ANY_SSE3_FLAGS from + CPU_ANY_SSE4A_FLAGS. + 2020-02-17 Alan Modra * i386-gen.c (cpu_flag_init): Correct last change. diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 407479261cd..4d98d31b74d 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -334,7 +334,7 @@ static initializer cpu_flag_init[] = { "CPU_ANY_SSE4_2_FLAGS", "CpuSSE4_2" }, { "CPU_ANY_SSE4A_FLAGS", - "CPU_ANY_SSE3_FLAGS|CpuSSE4a" }, + "CpuSSE4a" }, { "CPU_ANY_AVX_FLAGS", "CPU_ANY_AVX2_FLAGS|CpuF16C|CpuFMA|CpuFMA4|CpuXOP|CpuAVX" }, { "CPU_ANY_AVX2_FLAGS", diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index d4674fc02ac..36660b109bb 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -1172,7 +1172,7 @@ #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, 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, 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, 0, 0, 0, \