x86: drop duplicate sse4a entry from cpu_arch[]

Message ID 9bb8ebe7-9e49-d60b-d586-e4d98242acda@suse.com
State Accepted
Headers
Series x86: drop duplicate sse4a entry from cpu_arch[] |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Jan Beulich Nov. 10, 2022, 1:36 p.m. UTC
  Of the two instances the first is correct in using ANY_SSE4A as 3rd
argument to SUBARCH(), so drop the wrong/redundant/dead 2nd one.
  

Comments

H.J. Lu Nov. 10, 2022, 5:24 p.m. UTC | #1
On Thu, Nov 10, 2022 at 5:36 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> Of the two instances the first is correct in using ANY_SSE4A as 3rd
> argument to SUBARCH(), so drop the wrong/redundant/dead 2nd one.
>
> --- a/gas/config/tc-i386.c
> +++ b/gas/config/tc-i386.c
> @@ -1037,7 +1037,6 @@ static const arch_entry cpu_arch[] =
>    SUBARCH (padlock, PADLOCK, PADLOCK, false),
>    SUBARCH (pacifica, SVME, SVME, true),
>    SUBARCH (svme, SVME, SVME, false),
> -  SUBARCH (sse4a, SSE4A, SSE4A, false),
>    SUBARCH (abm, ABM, ABM, false),
>    SUBARCH (bmi, BMI, BMI, false),
>    SUBARCH (tbm, TBM, TBM, false),

OK.

Thanks.
  

Patch

--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -1037,7 +1037,6 @@  static const arch_entry cpu_arch[] =
   SUBARCH (padlock, PADLOCK, PADLOCK, false),
   SUBARCH (pacifica, SVME, SVME, true),
   SUBARCH (svme, SVME, SVME, false),
-  SUBARCH (sse4a, SSE4A, SSE4A, false),
   SUBARCH (abm, ABM, ABM, false),
   SUBARCH (bmi, BMI, BMI, false),
   SUBARCH (tbm, TBM, TBM, false),