]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/loongarch64: Improve constraints for TCG_CT_CONST_VCMP
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 24 Apr 2025 18:45:28 +0000 (18:45 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:15 +0000 (13:40 -0700)
commit911f7328e9e9de80bf6b1a4697ecf83cc3661f5f
tree2fe0b9fcbca201d20a550600a6b8f3a5bcd4ac7d
parenta079836005fb92eb1fee19e59654b337a41fd0ff
tcg/loongarch64: Improve constraints for TCG_CT_CONST_VCMP

Use the TCGCond given to tcg_target_const_match to exactly match
the supported constant.  Adjust the code generation to assume this
has been done -- recall that encode_*_insn contain assertions that
the constants are valid.

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