public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] x86: drop duplicate sse4a entry from cpu_arch[]
@ 2022-11-10 13:36 Jan Beulich
  2022-11-10 17:24 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2022-11-10 13:36 UTC (permalink / raw)
  To: Binutils; +Cc: H.J. Lu

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),

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86: drop duplicate sse4a entry from cpu_arch[]
  2022-11-10 13:36 [PATCH] x86: drop duplicate sse4a entry from cpu_arch[] Jan Beulich
@ 2022-11-10 17:24 ` H.J. Lu
  0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 2022-11-10 17:24 UTC (permalink / raw)
  To: Jan Beulich; +Cc: Binutils

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.

-- 
H.J.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 13:36 [PATCH] x86: drop duplicate sse4a entry from cpu_arch[] Jan Beulich
2022-11-10 17:24 ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).