]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: simplify and slightly correct XCHG vs NOP checking
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 08:53:33 +0000 (09:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 08:53:33 +0000 (09:53 +0100)
commit4473201422ad238f90f3151454959a6d35cfb6c2
tree06f8a953be4eafe5a02a0ef686a580c7ad3391b0
parenta33ef3c24a85759af9a629d673cb49c822466547
x86: simplify and slightly correct XCHG vs NOP checking

For one, because of CheckRegSize, there's no need to check the size of
both (register) operands. And then in process_suffix() check opcode
space rather than the (potentially ambiguous) extension opcode.
gas/config/tc-i386.c