]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86/SSE2AVX: respect prefixes
authorJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:55:25 +0000 (11:55 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Mar 2024 10:55:25 +0000 (11:55 +0100)
commitebe82bfdb3832be50bb8553784d148d5b73c0b39
tree49994071b8740f46ca7b32e152131025dee251ba
parent1c6310c97b04bc79637fed66d2cbc61ee5888e31
x86/SSE2AVX: respect prefixes

1) Without -msse2avx we unconditionally honor REX.W. Hence we ought to
   also do so with -msse2avx, converting to VEX.W.

2) {rex} doesn't prevent conversion to VEX encodings. Thus {rex2}
   shouldn't either.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-sse2avx.d
gas/testsuite/gas/i386/x86-64-sse2avx.s