aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/intc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-24 16:26:41 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-03-27 12:15:25 -1000
commitababac165b375b617e5b333536b846a33c48006e (patch)
tree99b9cf66b93bbd7038f91a0c4b56d6047e756dc9 /hw/intc/intc.c
parentd0ae87a27c212b4dda1b5e83507f5ebdfd019097 (diff)
downloadqemu-ababac165b375b617e5b333536b846a33c48006e.zip
qemu-ababac165b375b617e5b333536b846a33c48006e.tar.gz
qemu-ababac165b375b617e5b333536b846a33c48006e.tar.bz2
target/hppa: Optimize UADDCM with no condition
With r1 as zero is by far the most common usage of UADDCM, as the easiest way to invert a register. The compiler does occasionally use the addition step as well, and we can simplify that to avoid a temp and write directly into the destination. Tested-by: Helge Deller <deller@gmx.de> Reviewed-by: Helge Deller <deller@gmx.de> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/intc.c')
0 files changed, 0 insertions, 0 deletions