mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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
1 changed files with 0 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue