Use ext_i32_i64 instead of ext32s_i64
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Mar 2008 18:09:27 +0000 (18:09 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 18 Mar 2008 18:09:27 +0000 (18:09 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4087 c046a42c-6fe2-441c-8c8c-71466251a162

target-sparc/translate.c

index fce4de0..5d87ef8 100644 (file)
@@ -790,8 +790,8 @@ static inline void gen_op_smul_T1_T0(void)
     r_temp = tcg_temp_new(TCG_TYPE_I64);
     r_temp2 = tcg_temp_new(TCG_TYPE_I64);
 
-    tcg_gen_ext32s_i64(r_temp, cpu_T[1]);
-    tcg_gen_ext32s_i64(r_temp2, cpu_T[0]);
+    tcg_gen_ext_i32_i64(r_temp, cpu_T[1]);
+    tcg_gen_ext_i32_i64(r_temp2, cpu_T[0]);
     tcg_gen_mul_i64(r_temp2, r_temp, r_temp2);
 
     tcg_gen_shri_i64(r_temp, r_temp2, 32);