[PATCH] x86-64: don't accept supposedly disabled MOVQ forms
H.J. Lu
hjl.tools@gmail.com
Thu Mar 25 15:30:27 GMT 2021
On Thu, Mar 25, 2021 at 12:13 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> While all of MMX, SSE, and SSE2 are included in "generic64", they can be
> individually disabled. There are two MOVQ forms lacking respective
> attributes. While the MMX one would get refused anyway (due to MMX
> registers not recognized with .nommx), the assembler did happily accept
> the SSE2 form. Add respective CPU settings to both, paralleling what the
> MOVD counterparts have.
>
> gas/
> 2021-03-XX Jan Beulich <jbeulich@suse.com>
>
> * testsuite/gas/i386/x86-64-nosse2.s,
> testsuite/gas/i386/x86-64-nosse2.l: New.
> * testsuite/gas/i386/i386.exp: Run new test.
>
> opcodes/
> 2021-03-XX Jan Beulich <jbeulich@suse.com>
>
> * i386-opc.tbl (movq): Add CpuSSE2 to SSE2 form. Add CpuMMX to
> MMX form.
> * i386-tbl.h: Re-generate.
>
OK. Thanks.
--
H.J.
More information about the Binutils
mailing list