]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips64: fix jmpKind for BLTZ and BGEZ
authorPetar Jovanovic <mips32r2@gmail.com>
Thu, 4 Sep 2014 17:34:56 +0000 (17:34 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Thu, 4 Sep 2014 17:34:56 +0000 (17:34 +0000)
As spotted by Maran Pakkirisamy, jump kind for BLTZ and BGEZ should be
Ijk_Boring and not Ijk_Call.

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

VEX/priv/guest_mips_toIR.c

index 908f2c83fd9f54baf60b1a8b8408ac57bcc8b0ad..26d3c71e630ffa3a0b911ad8486887f667b90adf 100644 (file)
@@ -2110,7 +2110,7 @@ static Bool dis_instr_branch ( UInt theInstr, DisResult * dres,
                eCond = binop(mkSzOp(ty, Iop_CmpNE8), mkexpr(tmpLt),
                              mkexpr(tmpReg0));
 
-               jmpKind = Ijk_Call;
+               jmpKind = Ijk_Boring;
                break;
             }
 
@@ -2125,7 +2125,7 @@ static Bool dis_instr_branch ( UInt theInstr, DisResult * dres,
                eCond = binop(mkSzOp(ty, Iop_CmpEQ8), mkexpr(tmpLt),
                                     mkexpr(tmpReg0));
 
-               jmpKind = Ijk_Call;
+               jmpKind = Ijk_Boring;
                break;
             }