Skip to content

Commit

Permalink
target-arm: A64: remove redundant store
Browse files Browse the repository at this point in the history
There is not much point storing the same value twice in a row.

Reported-by: Laurent Desnogues <[email protected]>
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Laurent Desnogues <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
stsquad authored and Michael Tokarev committed Nov 2, 2014
1 parent 11693a6 commit 0d61f18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion target-arm/translate-a64.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,6 @@ static void do_fp_st(DisasContext *s, int srcidx, TCGv_i64 tcg_addr, int size)
} else {
TCGv_i64 tcg_hiaddr = tcg_temp_new_i64();
tcg_gen_qemu_st_i64(tmp, tcg_addr, get_mem_index(s), MO_TEQ);
tcg_gen_qemu_st64(tmp, tcg_addr, get_mem_index(s));
tcg_gen_ld_i64(tmp, cpu_env, fp_reg_hi_offset(s, srcidx));
tcg_gen_addi_i64(tcg_hiaddr, tcg_addr, 8);
tcg_gen_qemu_st_i64(tmp, tcg_hiaddr, get_mem_index(s), MO_TEQ);
Expand Down

0 comments on commit 0d61f18

Please sign in to comment.