]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
VEX, ppc code cleanup
authorCarl Love <cel@us.ibm.com>
Wed, 20 Mar 2013 15:51:34 +0000 (15:51 +0000)
committerCarl Love <cel@us.ibm.com>
Wed, 20 Mar 2013 15:51:34 +0000 (15:51 +0000)
This patch removes some dead code left behind when the code was restructured
to fix the implementation changes to make it compliant with the iop
definitions.

The patch makes no functional changes as it is just removing code that is not
reachable.

This patch is for Bugzilla 314269.

Signed-off-by: Carl Love <cel@us.ibm.com>
git-svn-id: svn://svn.valgrind.org/vex/trunk@2697

VEX/priv/host_ppc_isel.c

index d52e3740b51105cfba065ec1b0bf131a20f92465..6c485dbee443d0e2a50086ec4fd81a87ce7326da 100644 (file)
@@ -4176,20 +4176,6 @@ static HReg iselDfp64Expr_wrk(ISelEnv* env, IRExpr* e)
          addInstr(env, PPCInstr_Dfp64Unary(fpop, fr_dst, fr_src));
          add_to_sp( env, 16 );
          return fr_dst;
-
-      } else if (fpop == Pfp_DCTFIX) {
-         HReg fr_src = iselDfp64Expr(env, e->Iex.Binop.arg2);
-         HReg tmp    = newVRegI(env);
-         PPCAMode* zero_r1 = PPCAMode_IR( 0, StackFramePtr(env->mode64) );
-
-         set_FPU_DFP_rounding_mode( env, e->Iex.Binop.arg1 );
-         addInstr(env, PPCInstr_Dfp64Unary(fpop, fr_dst, fr_src));
-
-         sub_from_sp( env, 16 );
-         addInstr(env, PPCInstr_FpLdSt(False/*store*/, 8, fr_dst, zero_r1));
-         addInstr(env, PPCInstr_Load(8, tmp, zero_r1, env->mode64));
-         add_to_sp( env, 16 );
-         return tmp;
       }
 
       switch (e->Iex.Binop.op) {