diff options
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index 8520d28519..e58d916b04 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -1745,6 +1745,7 @@ static void gen_ld(DisasContext *ctx, uint32_t opc, tcg_temp_free(t2); tcg_gen_or_tl(t0, t0, t1); tcg_temp_free(t1); + tcg_gen_ext32s_tl(t0, t0); gen_store_gpr(t0, rt); opn = "lwr"; break; |