]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: consistently print prefixes explicitly which are invalid with VEX etc
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Jun 2020 06:59:04 +0000 (08:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Jun 2020 06:59:04 +0000 (08:59 +0200)
commit73239888b37b95101d55d1d58b0acb663496b8d7
tree626fc87c465db6a977b955fb1bebf1ce513eaa48
parent18897deb534373660e12511aeabbc1885d942dae
x86: consistently print prefixes explicitly which are invalid with VEX etc

All of data size, rep, lock, and rex prefixes are invalid with VEX- and
alike encoded insns. Make sure they get printed explicitly in all cases,
to signal the anomaly. With this, do away with "rex_ignored" - if there
is a rex prefix, we want to print it anyway for VEX etc (and there's
nothing "ignored" about it in the first place - such an instruction will
raise #UD).
gas/ChangeLog
gas/testsuite/gas/i386/prefix.d
gas/testsuite/gas/i386/prefix.s
opcodes/ChangeLog
opcodes/i386-dis.c