projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
321f211
)
target-mips: fix DSP loads with rd = 0
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 1 Jan 2013 17:02:22 +0000
(18:02 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Thu, 31 Jan 2013 22:29:27 +0000
(23:29 +0100)
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>
target-mips/translate.c
patch
|
blob
|
history
diff --git
a/target-mips/translate.c
b/target-mips/translate.c
index 206ba83401b835b32841d24eaad9981d8da34497..a9368294f3e7d178f89603e009f0aafc6f429867 100644
(file)
--- 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();