diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:18:40 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-06-28 08:18:40 +0200 |
commit | 0868b8999bbca960781e7d8bbbc363536193a694 (patch) | |
tree | a8ab13e006208fe1ba79ec127b413e67c39a0a35 /gprofng | |
parent | f63d85cc78e73e7df93e6eedc953a08b713cfa43 (diff) | |
download | gdb-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