aboutsummaryrefslogtreecommitdiff
path: root/gprofng
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-06-28 08:18:40 +0200
committerJan Beulich <jbeulich@suse.com>2024-06-28 08:18:40 +0200
commit0868b8999bbca960781e7d8bbbc363536193a694 (patch)
treea8ab13e006208fe1ba79ec127b413e67c39a0a35 /gprofng
parentf63d85cc78e73e7df93e6eedc953a08b713cfa43 (diff)
downloadgdb-0868b8999bbca960781e7d8bbbc363536193a694.zip
gdb-0868b8999bbca960781e7d8bbbc363536193a694.tar.gz
gdb-0868b8999bbca960781e7d8bbbc363536193a694.tar.bz2
x86/APX: optimize {nf} forms of ADD/SUB with specific immediates
Unlike for the legacy forms, where there's a difference in the resulting EFLAGS, for the NF variants we can safely replace ones using 0x80 by the respectively other insn while negating the immediate, saving 3 immediate bytes (just 1 though for 16-bit operand size). Similarly we can replace ones using 1 / -1 by INC/DEC (eliminating the immediate).
Diffstat (limited to 'gprofng')
0 files changed, 0 insertions, 0 deletions