Commit ef28fd86 authored by blueswir1's avatar blueswir1
Browse files

Fix cas on i386

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4587 c046a42c-6fe2-441c-8c8c-71466251a162
parent 2a449d14
...@@ -1689,7 +1689,7 @@ static inline void gen_cas_asi(TCGv dst, TCGv addr, TCGv val2, int insn, ...@@ -1689,7 +1689,7 @@ static inline void gen_cas_asi(TCGv dst, TCGv addr, TCGv val2, int insn,
{ {
TCGv r_val1, r_asi; 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); gen_movl_reg_TN(rd, r_val1);
r_asi = gen_get_asi(insn, addr); r_asi = gen_get_asi(insn, addr);
tcg_gen_helper_1_4(helper_cas_asi, dst, addr, r_val1, val2, r_asi); tcg_gen_helper_1_4(helper_cas_asi, dst, addr, r_val1, val2, r_asi);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment