Commit 31741a27fa26e195c5600f13f9f1190c667bc64c
1 parent
e89f00e6
Accidentally dropped one change from previous commit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4129 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
target-sparc/translate.c
... | ... | @@ -1685,8 +1685,8 @@ static inline void gen_stf_asi(TCGv addr, int insn, int size, int rd) |
1685 | 1685 | { |
1686 | 1686 | TCGv r_asi; |
1687 | 1687 | |
1688 | - r_asi = gen_get_asi(insn, cpu_T[0]); | |
1689 | - tcg_gen_helper_0_4(helper_stf_asi, cpu_T[0], r_asi, tcg_const_i32(size), | |
1688 | + r_asi = gen_get_asi(insn, addr); | |
1689 | + tcg_gen_helper_0_4(helper_stf_asi, addr, r_asi, tcg_const_i32(size), | |
1690 | 1690 | tcg_const_i32(rd)); |
1691 | 1691 | tcg_gen_discard_i32(r_asi); |
1692 | 1692 | } | ... | ... |