tcg/ppc: Add TCG_CT_CONST_CMP
commit282ef7e8ef210c5582435f2d4cd9befc3130f5c6
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Oct 2023 02:09:03 +0000 (28 02:09 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Feb 2024 23:53:49 +0000 (3 23:53 +0000)
tree4685f8e1034e88d99ed820aab1a12687ede26890
parent2f2faef6b08aa6f3c3439f3ac307a1ded923b0a5
tcg/ppc: Add TCG_CT_CONST_CMP

Better constraint for tcg_out_cmp, based on the comparison.
We can't yet remove the fallback to load constants into a
scratch because of tcg_out_cmp2, but that path should not
be as frequent.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/ppc/tcg-target-con-set.h
tcg/ppc/tcg-target-con-str.h
tcg/ppc/tcg-target.c.inc