diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-10-27 15:44:45 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-02-03 23:53:48 +0000 |
commit | 21e9a8aefb0313174c1861df84e5e49bd84026c8 (patch) | |
tree | 5edc8adb12dc614a6af0407e95b50395a7ae9f01 /tcg/arm | |
parent | f9ec459da8b15e857e0ffd94ccb6276284592cce (diff) | |
download | qemu-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/arm')
-rw-r--r-- | tcg/arm/tcg-target.c.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc index a9aa8aa..113094a 100644 --- a/tcg/arm/tcg-target.c.inc +++ b/tcg/arm/tcg-target.c.inc @@ -501,7 +501,8 @@ static bool is_shimm1632(uint32_t v32, int *cmode, int *imm8) * mov operand2: values represented with x << (2 * y), x < 0x100 * add, sub, eor...: ditto */ -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; |