diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-26 17:53:41 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-26 17:53:41 +0000 |
commit | ef28fd86736f948625207c1015604e45939c0894 (patch) | |
tree | cd2a24904da39fe798530c065d3333449c8e2a08 /target-sparc | |
parent | 2a449d14922cdd65ba4bf566ad114e37e61c89e1 (diff) | |
download | hqemu-ef28fd86736f948625207c1015604e45939c0894.zip hqemu-ef28fd86736f948625207c1015604e45939c0894.tar.gz |
Fix cas on i386
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4587 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc')
-rw-r--r-- | target-sparc/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 4a634b6..b248d2d 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -1689,7 +1689,7 @@ static inline void gen_cas_asi(TCGv dst, TCGv addr, TCGv val2, int insn, { TCGv r_val1, r_asi; - r_val1 = tcg_temp_new(TCG_TYPE_I32); + r_val1 = tcg_temp_new(TCG_TYPE_TL); gen_movl_reg_TN(rd, r_val1); r_asi = gen_get_asi(insn, addr); tcg_gen_helper_1_4(helper_cas_asi, dst, addr, r_val1, val2, r_asi); |