Skip to contentSkip to conversation

[4587] Fix cas on i386

Qemu-devel Blue Swirl 1 participant 1 message May 26, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4587

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4587
Author:   blueswir1
Date:     2008-05-26 17:53:41 +0000 (Mon, 26 May 2008)

Log Message:
-----------
Fix cas on i386

Modified Paths:
--------------
trunk/target-sparc/translate.c

Modified: trunk/target-sparc/translate.c
===================================================================

target-sparc/translate.c +1 -1
@@ -1689,7 +1689,7 @@
 {
     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);