This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: fix SSE4a dependencies of ".arch .nosse*"
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <jbeulich at suse dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 12 Feb 2020 09:18:35 -0800
- Subject: Re: [PATCH] x86: fix SSE4a dependencies of ".arch .nosse*"
- References: <3bc597bb-10f9-80f9-8e00-f28aeb2eea77@suse.com>
On Wed, Feb 12, 2020 at 9:08 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> Since ".arch sse4a" enables SSE3 and earlier, disabling SSE3 should also
> disable SSE4a. And as per its name, ".arch .nosse4" should also do so.
>
> gas/
> 2020-02-XX Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
> "nosse4" entry.
>
> opcodes/
> 2020-02-XX Jan Beulich <jbeulich@suse.com>
>
> * i386-gen.c (cpu_flag_init): Move CpuSSE4a from
> CPU_ANY_SSE_FLAGS entry to CPU_ANY_SSE3_FLAGS one. Add
> CPU_ANY_SSE4_FLAGS entry.
> * i386-init.h: Re-generate.
>
OK.
Thanks.
--
H.J.