target-mips: fix DSP loads with rd = 0
When rd is 0, which still need to do the actually load to possibly generate a TLB exception. Reviewed-by: Eric Johnson <ericj@mips.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
321f211707
commit
f7d2072e25
@ -12657,11 +12657,6 @@ static void gen_mipsdsp_ld(CPUMIPSState *env, DisasContext *ctx, uint32_t opc,
|
|||||||
const char *opn = "ldx";
|
const char *opn = "ldx";
|
||||||
TCGv t0;
|
TCGv t0;
|
||||||
|
|
||||||
if (rd == 0) {
|
|
||||||
MIPS_DEBUG("NOP");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
check_dsp(ctx);
|
check_dsp(ctx);
|
||||||
t0 = tcg_temp_new();
|
t0 = tcg_temp_new();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user