aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-07-14 10:33:40 +0200
committerJan Beulich <jbeulich@suse.com>2020-07-14 10:33:40 +0200
commit7531c61332dbd9061b09312e44b62523547e8225 (patch)
treeb6263d54a1222a908ece3bd2612cd1fbf5dea945 /COPYING
parent17d3c7eccd41c5053c0b567eb67fe59808cc748a (diff)
downloadgdb-7531c61332dbd9061b09312e44b62523547e8225.zip
gdb-7531c61332dbd9061b09312e44b62523547e8225.tar.gz
gdb-7531c61332dbd9061b09312e44b62523547e8225.tar.bz2
x86: simplify decode of opcodes valid with (embedded) 66 prefix only
The only valid (embedded or explicit) prefix being the data size one (which is a fairly common pattern), avoid going through prefix_table[]. Instead extend the "required prefix" logic to also handle PREFIX_DATA alone in a table entry, now used to identify this case. This requires moving the (adjusted) ->prefix_requirement logic ahead of the printing of stray prefixes, as the latter needs to observe the new setting of PREFIX_DATA in used_prefixes. Also add PREFIX_OPCODE on related entries when previously there was mistakenly no decode step through prefix_table[].
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions