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 /scripts/qapi/expr.py | |
| parent | b0a433be48c120fdc2be676216a240a316f3613e (diff) | |
| download | focaccia-qemu-cba10bb3c8875f428821608f9dfb860a97a63aa1.tar.gz focaccia-qemu-cba10bb3c8875f428821608f9dfb860a97a63aa1.zip | |
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 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions