aboutsummaryrefslogtreecommitdiff
path: root/mkinstalldirs
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-05-24 11:51:21 +0200
committerJan Beulich <jbeulich@suse.com>2024-05-24 11:51:21 +0200
commitfb40ea39def796409eaf7f4e35bb143cbbeba0b7 (patch)
treef52ac69c3edd422c334ceb76ed61348746393274 /mkinstalldirs
parentacd86c81f04405719471410302fe7f8e407d539c (diff)
downloadgdb-fb40ea39def796409eaf7f4e35bb143cbbeba0b7.zip
gdb-fb40ea39def796409eaf7f4e35bb143cbbeba0b7.tar.gz
gdb-fb40ea39def796409eaf7f4e35bb143cbbeba0b7.tar.bz2
x86: simplify / consolidate check_{word,long,qword}_reg()
These run after template matching. Therefore operands are already known to match the template in use. With the loop bodies skipping anything not a GPR in the actual operands, there's therefore no need to check the template's operand type for permitting Reg or Accum. At the same time bring the three functions in sync for the "byte" part of the logic, as far as checking the template for other sizes (qword specifically) goes. Plus drop a stale comment from check_qword_reg(), when all three are now behaving the same in this regard.
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions