diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:19:59 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:19:59 +0200 |
commit | 27ef4876f74717e750102f9273f143bf45541a46 (patch) | |
tree | 18a018f6bb44caeb8b9cb48ea61572ef04279c74 /sim/config.h.in | |
parent | c7eae03eab750f93b6460e883f25b71d46dd1c47 (diff) | |
download | gdb-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 'sim/config.h.in')
0 files changed, 0 insertions, 0 deletions