aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/sparc
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-05-31 10:22:50 +0200
committerJan Beulich <jbeulich@suse.com>2024-05-31 10:22:50 +0200
commit939c703789ede7ddd2c9bc21198f430227ccbdf5 (patch)
treeaf0712238d55be5b3c0e36275d56f695a5edfc7b /gdb/features/sparc
parent9736d941f271a6c3c14dcbeb5ad03a5fc4106b45 (diff)
downloadgdb-939c703789ede7ddd2c9bc21198f430227ccbdf5.zip
gdb-939c703789ede7ddd2c9bc21198f430227ccbdf5.tar.gz
gdb-939c703789ede7ddd2c9bc21198f430227ccbdf5.tar.bz2
x86: reduce check_{byte,word,long,qword}_reg() overhead
These run after template matching. Therefore it is quite pointless for them to check all operands, when operand sizes matching across operands is already known. Exit the loops early in such cases. In check_byte_reg() also drop a long-stale part of a comment.
Diffstat (limited to 'gdb/features/sparc')
0 files changed, 0 insertions, 0 deletions