diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 2646cb3eb5..1921b7bfb5 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -5327,6 +5327,7 @@ static void decode_rcrw_insert(DisasContext *ctx) switch (op2) { case OPC2_32_RCRW_IMASK: + CHECK_REG_PAIR(r4); tcg_gen_andi_tl(temp, cpu_gpr_d[r3], 0x1f); tcg_gen_movi_tl(temp2, (1 << width) - 1); tcg_gen_shl_tl(cpu_gpr_d[r4 + 1], temp2, temp);