summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>2018-04-13 20:45:14 +0200
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>2018-04-30 16:43:20 +0200
commitdf1e528aad265a5c6ad7c84ef2861a5e4b2913bf (patch)
tree1c9b50c4c09086cf62f98e0308a31609e5ded696 /target
parent5153bb897a3d41d52c5b7187e9e40d5c26b04d57 (diff)
downloadqemu-df1e528aad265a5c6ad7c84ef2861a5e4b2913bf.zip
target-microblaze: Don't clobber the IMM reg for ld/st reversed
Do not clobber the IMM register on reversed load/stores. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target')
-rw-r--r--target/microblaze/translate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c
index ec12fed49d..100883e2cc 100644
--- a/target/microblaze/translate.c
+++ b/target/microblaze/translate.c
@@ -952,7 +952,6 @@ static void dec_load(DisasContext *dc)
tcg_gen_sub_tl(low, tcg_const_tl(3), low);
tcg_gen_andi_tl(t, t, ~3);
tcg_gen_or_tl(t, t, low);
- tcg_gen_mov_tl(env_imm, t);
tcg_temp_free(low);
break;
}
@@ -1104,7 +1103,6 @@ static void dec_store(DisasContext *dc)
tcg_gen_sub_tl(low, tcg_const_tl(3), low);
tcg_gen_andi_tl(t, t, ~3);
tcg_gen_or_tl(t, t, low);
- tcg_gen_mov_tl(env_imm, t);
tcg_temp_free(low);
break;
}