]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: Correctly model SHLL_S.PH on MIPS32.
authorDejan Jevtic <dejan.jevtic@valgrind.org>
Fri, 2 Aug 2013 16:02:28 +0000 (16:02 +0000)
committerDejan Jevtic <dejan.jevtic@valgrind.org>
Fri, 2 Aug 2013 16:02:28 +0000 (16:02 +0000)
Fix problem with IRTemp size when modeling SHLL_S.PH on MIPS32.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2734

VEX/priv/guest_mips_toIR.c

index 6db5b85fac3d0544e7d1c7993627ea0d283b32d1..5f8fd3bbb5d352d24d1472f53fd18f2c1cd7ea4f 100644 (file)
@@ -8170,8 +8170,8 @@ static UInt disDSPInstr_MIPS_WRK ( UInt cins )
                      t8 = newTemp(Ity_I32);
                      t9 = newTemp(Ity_I32);
                      t10 = newTemp(Ity_I1);
-                     t11 = newTemp(Ity_I32);
-                     t12 = newTemp(Ity_I32);
+                     t11 = newTemp(Ity_I16);
+                     t12 = newTemp(Ity_I16);
 
                      if (0 == rs) {
                         putIReg(rd, getIReg(rt));