aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-06-28 08:19:59 +0200
committerJan Beulich <jbeulich@suse.com>2024-06-28 08:19:59 +0200
commit27ef4876f74717e750102f9273f143bf45541a46 (patch)
tree18a018f6bb44caeb8b9cb48ea61572ef04279c74 /libbacktrace
parentc7eae03eab750f93b6460e883f25b71d46dd1c47 (diff)
downloadgdb-27ef4876f74717e750102f9273f143bf45541a46.zip
gdb-27ef4876f74717e750102f9273f143bf45541a46.tar.gz
gdb-27ef4876f74717e750102f9273f143bf45541a46.tar.bz2
x86/APX: optimize certain {nf}-form insns to LEA
..., as that leaves EFLAGS untouched anyway. That's a shorter encoding, available as long as certain constraints on operand size and registers are met; see code comments. Note that this requires deferring to derive encoding_evex from {nf} presence, as in optimize_encoding() we want to avoid touching the insns when {evex} was also used. Note further that this requires want_disp32() to now also consider the opcode: We don't want to replace i.tm.mnem_off, for diagnostics to still report the original mnemonic (or else things can get confusing). While there, correct adjacent mis-indentation.
Diffstat (limited to 'libbacktrace')
0 files changed, 0 insertions, 0 deletions