x86-64: REX prefix is invalid with VEX etc
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Jun 2020 07:26:28 +0000 (09:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Jun 2020 07:26:28 +0000 (09:26 +0200)
commit0b9404fd37c99dc322ae0502d8af6f7c07eb558d
treed2f79f5d2542a54661f86905da615730ab7fdb41
parenta5aeccd9d33b8cea1ca9145fdeb1be4978cadaeb
x86-64: REX prefix is invalid with VEX etc

Just like for the data size prefix (see commit 7a8655d2bbdc ["x86: don't
abort() upon DATA16 prefix on (E)VEX encoded insn"]), any form of REX
prefix is invalid with VEX/XOP/EVEX.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-pseudos-bad.l
gas/testsuite/gas/i386/x86-64-pseudos-bad.s
gas/testsuite/gas/i386/x86-64-pseudos.d
gas/testsuite/gas/i386/x86-64-pseudos.s