]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/ppc: Sync tcg_out_test and constraints
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 7 Aug 2024 04:04:18 +0000 (04:04 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 28 Aug 2024 05:37:28 +0000 (08:37 +0300)
commitf9b9a68b3e639912054b572c6d13c6f072a056f4
tree4f220789388240ca59e7fc192cd7b8d40a2c21e3
parent73b491b792dcea335134fa96dbdfa72fdcdfec52
tcg/ppc: Sync tcg_out_test and constraints

Ensure the code structure is the same for matching constraints
and emitting code, lest we allow constants that cannot be
trivially tested.

Cc: qemu-stable@nongnu.org
Fixes: ad788aebbab ("tcg/ppc: Support TCG_COND_TST{EQ,NE}")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2487
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <44328324-af73-4439-9d2b-d414e0e13dd7@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit 682a05280504d2fab32e16096b58d7ea068435c2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/ppc/tcg-target.c.inc