[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/25] target/m68k: Use tcg_constant_i32 in gen_ea_mode
From: |
Richard Henderson |
Subject: |
[PATCH v2 13/25] target/m68k: Use tcg_constant_i32 in gen_ea_mode |
Date: |
Tue, 7 Mar 2023 10:34:51 -0800 |
Return a constant for an immediate input.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/m68k/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index fc65dad190..e16c608ef8 100644
--- a/target/m68k/translate.c
+++ b/target/m68k/translate.c
@@ -920,7 +920,7 @@ static TCGv gen_ea_mode(CPUM68KState *env, DisasContext *s,
int mode, int reg0,
default:
g_assert_not_reached();
}
- return tcg_const_i32(offset);
+ return tcg_constant_i32(offset);
default:
return NULL_QREG;
}
--
2.34.1
- [PATCH v2 05/25] target/arm: Create gen_set_rmode, gen_restore_rmode, (continued)
- [PATCH v2 05/25] target/arm: Create gen_set_rmode, gen_restore_rmode, Richard Henderson, 2023/03/07
- [PATCH v2 06/25] target/arm: Improve trans_BFCI, Richard Henderson, 2023/03/07
- [PATCH v2 07/25] target/arm: Avoid tcg_const_ptr in gen_sve_{ldr, str}, Richard Henderson, 2023/03/07
- [PATCH v2 08/25] target/arm: Avoid tcg_const_* in translate-mve.c, Richard Henderson, 2023/03/07
- [PATCH v2 09/25] target/arm: Avoid tcg_const_ptr in disas_simd_zip_trn, Richard Henderson, 2023/03/07
- [PATCH v2 11/25] target/arm: Avoid tcg_const_ptr in handle_rev, Richard Henderson, 2023/03/07
- [PATCH v2 13/25] target/m68k: Use tcg_constant_i32 in gen_ea_mode,
Richard Henderson <=
- [PATCH v2 14/25] target/ppc: Avoid tcg_const_i64 in do_vcntmb, Richard Henderson, 2023/03/07
- [PATCH v2 15/25] target/ppc: Avoid tcg_const_* in vmx-impl.c.inc, Richard Henderson, 2023/03/07
- [PATCH v2 10/25] target/arm: Avoid tcg_const_ptr in handle_vec_simd_sqshrn, Richard Henderson, 2023/03/07
- [PATCH v2 12/25] target/m68k: Reject immediate as destination in gen_ea_mode, Richard Henderson, 2023/03/07