aboutsummaryrefslogtreecommitdiff
path: root/tcg/s390x
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-10-27 15:44:45 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-02-03 23:53:48 +0000
commit21e9a8aefb0313174c1861df84e5e49bd84026c8 (patch)
tree5edc8adb12dc614a6af0407e95b50395a7ae9f01 /tcg/s390x
parentf9ec459da8b15e857e0ffd94ccb6276284592cce (diff)
downloadqemu-21e9a8aefb0313174c1861df84e5e49bd84026c8.zip
qemu-21e9a8aefb0313174c1861df84e5e49bd84026c8.tar.gz
qemu-21e9a8aefb0313174c1861df84e5e49bd84026c8.tar.bz2
tcg: Add TCGConst argument to tcg_target_const_match
Fill the new argument from any condition within the opcode. Not yet used within any backend. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/s390x')
-rw-r--r--tcg/s390x/tcg-target.c.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc
index 7f6b84a..54645d1 100644
--- a/tcg/s390x/tcg-target.c.inc
+++ b/tcg/s390x/tcg-target.c.inc
@@ -538,7 +538,8 @@ static bool risbg_mask(uint64_t c)
}
/* Test if a constant matches the constraint. */
-static bool tcg_target_const_match(int64_t val, TCGType type, int ct, int vece)
+static bool tcg_target_const_match(int64_t val, int ct,
+ TCGType type, TCGCond cond, int vece)
{
if (ct & TCG_CT_CONST) {
return 1;