diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-04-19 09:23:49 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-04-19 09:23:49 +0200 |
commit | 2f399d995b59a522c2739c0ab163c501c082cafb (patch) | |
tree | a44cb461c11fc3b0f25c4646223cdbb0af908c0f /opcodes/ia64-opc-a.c | |
parent | a17a212139296b7b0f32d4535640d779c396acef (diff) | |
download | gdb-2f399d995b59a522c2739c0ab163c501c082cafb.zip gdb-2f399d995b59a522c2739c0ab163c501c082cafb.tar.gz gdb-2f399d995b59a522c2739c0ab163c501c082cafb.tar.bz2 |
x86: correct and simplify NOP disassembly
It's not just REX.W which is ignored with opcode 0x90. The same goes for
REX.R and REX.X as well as empty REX. None of these are forms of
"xchg %eax,%eax" (which would mean zero-extending %eax to %rax), so they
also shouldn't be disassembled this way.
While there simplify things: A single hook function suffices, thus
making it unnecessary to keep two expressions in sync. And checking
ins->address_mode for mode_64bit also is unnecessary, as "rex" can be
non-zero only in that case anyway.
Diffstat (limited to 'opcodes/ia64-opc-a.c')
0 files changed, 0 insertions, 0 deletions