aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-05 01:55:23 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-08-24 11:22:42 -0700
commitcba10bb3c8875f428821608f9dfb860a97a63aa1 (patch)
tree29f577d8748cda82cb5297d14d76de05cc26b684 /hw/misc/mst_fpga.c
parentb0a433be48c120fdc2be676216a240a316f3613e (diff)
downloadqemu-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