x86: don't abort() upon DATA16 prefix on (E)VEX encoded insn
authorJan Beulich <jbeulich@novell.com>
Tue, 31 Jul 2018 08:54:05 +0000 (10:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 31 Jul 2018 08:54:05 +0000 (10:54 +0200)
commit7a8655d2bbdc788786cb28e925e1d4303cd960b0
tree60208a5f8726cd091cc3b5e1816dc74c7c2ca70b
parente951d5ca3d73cfd71a002b91c16d6036240213e6
x86: don't abort() upon DATA16 prefix on (E)VEX encoded insn

Instead of hitting the abort() in output_insn() (commented by "There
should be no other prefixes for instructions with VEX prefix"), report
a proper diagnostic instead, just like we do e.g. for invalid REP
prefixes.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/prefix32.l [new file with mode: 0644]
gas/testsuite/gas/i386/prefix32.s [new file with mode: 0644]
gas/testsuite/gas/i386/prefix64.l [new file with mode: 0644]
gas/testsuite/gas/i386/prefix64.s [new file with mode: 0644]