[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/73] target/tricore: Use tcg_op_supported
From: |
Richard Henderson |
Subject: |
[PATCH 10/73] target/tricore: Use tcg_op_supported |
Date: |
Thu, 2 Jan 2025 10:05:50 -0800 |
Do not reference TCG_TARGET_HAS_* directly.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/tricore/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index 0ef3743f3e..6e6edeadfa 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -3980,7 +3980,7 @@ static void decode_bit_andacc(DisasContext *ctx)
pos1, pos2, &tcg_gen_andc_tl, &tcg_gen_and_tl);
break;
case OPC2_32_BIT_AND_NOR_T:
- if (TCG_TARGET_HAS_andc_i32) {
+ if (tcg_op_supported(INDEX_op_andc_i32, TCG_TYPE_I32)) {
gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2],
pos1, pos2, &tcg_gen_or_tl, &tcg_gen_andc_tl);
} else {
@@ -4113,7 +4113,7 @@ static void decode_bit_orand(DisasContext *ctx)
pos1, pos2, &tcg_gen_andc_tl, &tcg_gen_or_tl);
break;
case OPC2_32_BIT_OR_NOR_T:
- if (TCG_TARGET_HAS_orc_i32) {
+ if (tcg_op_supported(INDEX_op_orc_i32, TCG_TYPE_I32)) {
gen_bit_2op(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2],
pos1, pos2, &tcg_gen_or_tl, &tcg_gen_orc_tl);
} else {
--
2.43.0
- [PATCH 21/73] tcg: Merge TCG_TARGET_HAS_{div,rem,div2}, (continued)
- [PATCH 21/73] tcg: Merge TCG_TARGET_HAS_{div,rem,div2}, Richard Henderson, 2025/01/02
- [PATCH 19/73] tcg: Split out tcg-target-has.h and tcg-has.h, Richard Henderson, 2025/01/02
- [PATCH 31/73] tcg/i386: Fold the ext{8, 16, 32}[us] cases into {s}extract, Richard Henderson, 2025/01/02
- [PATCH 37/73] tcg/ppc: Fold the ext{8, 16, 32}[us] cases into {s}extract, Richard Henderson, 2025/01/02
- [PATCH 38/73] tcg/riscv64: Fold the ext{8, 16, 32}[us] cases into {s}extract, Richard Henderson, 2025/01/02
- [PATCH 35/73] tcg/loongarch64: Fold the ext{8, 16, 32}[us] cases into {s}extract, Richard Henderson, 2025/01/02
- [PATCH 08/73] target/arm: Do not test TCG_TARGET_HAS_bitsel_vec, Richard Henderson, 2025/01/02
- [PATCH 10/73] target/tricore: Use tcg_op_supported,
Richard Henderson <=
- [PATCH 20/73] tcg: Split out tcg-target-mo.h, Richard Henderson, 2025/01/02
- [PATCH 24/73] tcg: Merge TCG_TARGET_HAS_bswap*, Richard Henderson, 2025/01/02
- [PATCH 27/73] tcg: Merge TCG_TARGET_HAS_{muls2,mulu2,mulsh,muluh}, Richard Henderson, 2025/01/02
- [PATCH 12/73] target/i386: Remove TCG_TARGET_extract_tl_valid, Richard Henderson, 2025/01/02