]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The PPC64 store quad instruction is updating the address register with the
authorCarl Love <cel@us.ibm.com>
Tue, 23 Sep 2014 16:22:36 +0000 (16:22 +0000)
committerCarl Love <cel@us.ibm.com>
Tue, 23 Sep 2014 16:22:36 +0000 (16:22 +0000)
effective address of the store.  The instruction should not update the
address register.  The issue is due to the two putIReg() calls at the end of
the instruction.  The two putIReg() calls were removed to fix the bug.

This issue was reported in bugzilla 339336.

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

VEX/priv/guest_ppc_toIR.c

index adabf64123fb1ef48943e39915fa3ac8e4bfaf23..8c1e70a3f9d022be223553a3dced82f789087463 100644 (file)
@@ -5350,9 +5350,7 @@ static Bool dis_int_store ( UInt theInstr, VexAbiInfo* vbi )
             /* lower half of upper 64-bits */
             assign( EA_lo, ea_rAor0_simm( rA_addr, simm16+12 ) );
          }
-         putIReg( rA_addr, mkexpr(EA_hi) );
          store( mkexpr(EA_hi), mkexpr(rS) );
-         putIReg( rA_addr, mkexpr( EA_lo) );
          store( mkexpr(EA_lo), getIReg( rS_addr+1 ) );
          break;
       }