Commit 61b26250 authored by David Brenken's avatar David Brenken Committed by Bastian Koppelmann
Browse files

tricore: fix RRPW_INSERT instruction

parent 4e6fd2e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7025,9 +7025,9 @@ static void decode_rrpw_extract_insert(CPUTriCoreState *env, DisasContext *ctx)
        }
        break;
    case OPC2_32_RRPW_INSERT:
        if (pos + width <= 31) {
        if (pos + width <= 32) {
            tcg_gen_deposit_tl(cpu_gpr_d[r3], cpu_gpr_d[r1], cpu_gpr_d[r2],
                               width, pos);
                               pos, width);
        }
        break;
    default: