From f7d2072e25d3592acec4657dae8862facf298e9f Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Tue, 1 Jan 2013 18:02:22 +0100 Subject: [PATCH] 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 Reviewed-by: Richard Henderson Signed-off-by: Aurelien Jarno --- target-mips/translate.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 206ba83401..a9368294f3 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -12657,11 +12657,6 @@ static void gen_mipsdsp_ld(CPUMIPSState *env, DisasContext *ctx, uint32_t opc, const char *opn = "ldx"; TCGv t0; - if (rd == 0) { - MIPS_DEBUG("NOP"); - return; - } - check_dsp(ctx); t0 = tcg_temp_new();