summary refs log tree commit diff stats
path: root/tcg/arm/tcg-target.c.inc
diff options
context:
space:
mode:
authorJiajie Chen <c@jia.je>2023-09-08 10:21:10 +0800
committerRichard Henderson <richard.henderson@linaro.org>2023-09-15 05:26:51 -0700
commitebe92db2ccf791208c58d15652f9460a67cc0fdd (patch)
tree9b427052234d00f5e7b08cbfeef679e93896240f /tcg/arm/tcg-target.c.inc
parent16288ded94417ffb9ce8fa141f5ff6cff3800a60 (diff)
downloadfocaccia-qemu-ebe92db2ccf791208c58d15652f9460a67cc0fdd.tar.gz
focaccia-qemu-ebe92db2ccf791208c58d15652f9460a67cc0fdd.zip
tcg: pass vece to tcg_target_const_match()
Pass vece to tcg_target_const_match() to allow correct interpretation of
const args of vector ops.

Signed-off-by: Jiajie Chen <c@jia.je>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230908022302.180442-4-c@jia.je>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/arm/tcg-target.c.inc')
-rw-r--r--tcg/arm/tcg-target.c.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc
index acb5f23b54..76f1345002 100644
--- a/tcg/arm/tcg-target.c.inc
+++ b/tcg/arm/tcg-target.c.inc
@@ -509,7 +509,7 @@ 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)
+static bool tcg_target_const_match(int64_t val, TCGType type, int ct, int vece)
 {
     if (ct & TCG_CT_CONST) {
         return 1;