diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-08-05 01:55:23 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-08-24 11:22:42 -0700 |
commit | cba10bb3c8875f428821608f9dfb860a97a63aa1 (patch) | |
tree | 29f577d8748cda82cb5297d14d76de05cc26b684 /hw/misc/mst_fpga.c | |
parent | b0a433be48c120fdc2be676216a240a316f3613e (diff) | |
download | qemu-cba10bb3c8875f428821608f9dfb860a97a63aa1.zip qemu-cba10bb3c8875f428821608f9dfb860a97a63aa1.tar.gz qemu-cba10bb3c8875f428821608f9dfb860a97a63aa1.tar.bz2 |
tcg/ppc: Implement negsetcond_*
In the general case we simply negate. However with isel we
may load -1 instead of 1 with no extra effort.
Consolidate EQ0 and NE0 logic. Replace the NE0 zero-extension
with inversion+negation of EQ0, which is never worse and may
eliminate one insn. Provide a special case for -EQ0.
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions