Commit ef28fd86736f948625207c1015604e45939c0894
1 parent
2a449d14
Fix cas on i386
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4587 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-sparc/translate.c
... | ... | @@ -1689,7 +1689,7 @@ static inline void gen_cas_asi(TCGv dst, TCGv addr, TCGv val2, int insn, |
1689 | 1689 | { |
1690 | 1690 | TCGv r_val1, r_asi; |
1691 | 1691 | |
1692 | - r_val1 = tcg_temp_new(TCG_TYPE_I32); | |
1692 | + r_val1 = tcg_temp_new(TCG_TYPE_TL); | |
1693 | 1693 | gen_movl_reg_TN(rd, r_val1); |
1694 | 1694 | r_asi = gen_get_asi(insn, addr); |
1695 | 1695 | tcg_gen_helper_1_4(helper_cas_asi, dst, addr, r_val1, val2, r_asi); | ... | ... |