From 31741a27fa26e195c5600f13f9f1190c667bc64c Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 29 Mar 2008 08:59:48 +0000 Subject: [PATCH] Accidentally dropped one change from previous commit git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4129 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 1a598f38cc..660407cf67 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -1685,8 +1685,8 @@ static inline void gen_stf_asi(TCGv addr, int insn, int size, int rd) { TCGv r_asi; - r_asi = gen_get_asi(insn, cpu_T[0]); - tcg_gen_helper_0_4(helper_stf_asi, cpu_T[0], r_asi, tcg_const_i32(size), + r_asi = gen_get_asi(insn, addr); + tcg_gen_helper_0_4(helper_stf_asi, addr, r_asi, tcg_const_i32(size), tcg_const_i32(rd)); tcg_gen_discard_i32(r_asi); } -- GitLab