diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-05-24 11:51:21 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-05-24 11:51:21 +0200 |
commit | fb40ea39def796409eaf7f4e35bb143cbbeba0b7 (patch) | |
tree | f52ac69c3edd422c334ceb76ed61348746393274 /lt~obsolete.m4 | |
parent | acd86c81f04405719471410302fe7f8e407d539c (diff) | |
download | gdb-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 'lt~obsolete.m4')
0 files changed, 0 insertions, 0 deletions