]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: use correct register names
authorJan Beulich <jbeulich@novell.com>
Wed, 15 Nov 2017 07:52:05 +0000 (08:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 15 Nov 2017 07:52:05 +0000 (08:52 +0100)
commit390a67891e4f1ed334e266cf084ba8948da5fcdf
treec44d73c8947c5d475f0e3edadd799c1e22441858
parent3a2430e05b1503653ae09cb21feb2a0d4ea51ec7
x86: use correct register names

VEX.W may be legitimately set (and is then ignored by the CPU) for
non-64-bit code. Don't print 64-bit register names in such a case, by
utilizing that REX_W would never be set for non-64-bit code, and that
it is being set from VEX.W by generic decoding.

A test for this is going to be introduced in the next patch of this
series.
gas/ChangeLog
gas/testsuite/gas/i386/noextreg.d
gas/testsuite/gas/i386/noextreg.s
opcodes/ChangeLog
opcodes/i386-dis.c