]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86-64: don't accept supposedly disabled MOVQ forms
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Mar 2021 10:43:19 +0000 (11:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Mar 2021 10:43:19 +0000 (11:43 +0100)
commitc3344b626d4c593f81a840be521d9ad47d37f979
treed9b3c47d13a07f29a60c796023b5194e8a2a97dd
parent574d27ede49e565bc4d951ae547eeee7ae9f74bf
x86-64: don't accept supposedly disabled MOVQ forms

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/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-nosse2.l [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nosse2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h