Rename IROps for reciprocal estimate, reciprocal step, reciprocal sqrt
estimate and reciprocal sqrt step, to be more consistent. Remove
64FxWhatever versions of those ops since they are never used. As a
side effect, observe that RSqrt32Fx4 and Rsqrte32Fx4 are the same and
hence fix the duplication, at the same time. No functional change.
git-svn-id: svn://svn.valgrind.org/vex/trunk@2932 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/guest_ppc_toIR.c b/priv/guest_ppc_toIR.c
index fc289ed..adabf64 100644
--- a/priv/guest_ppc_toIR.c
+++ b/priv/guest_ppc_toIR.c
@@ -7951,7 +7951,7 @@
return False;
DIP("frsqrtes%s fr%u,fr%u\n", flag_rC ? ".":"",
frD_addr, frB_addr);
- assign( frD, unop(Iop_Est5FRSqrt, mkexpr(frB)) );
+ assign( frD, unop(Iop_RSqrtEst5GoodF64, mkexpr(frB)) );
break;
default:
@@ -8052,7 +8052,7 @@
return False;
DIP("frsqrte%s fr%u,fr%u\n", flag_rC ? ".":"",
frD_addr, frB_addr);
- assign( frD, unop(Iop_Est5FRSqrt, mkexpr(frB)) );
+ assign( frD, unop(Iop_RSqrtEst5GoodF64, mkexpr(frB)) );
break;
default:
@@ -18077,12 +18077,12 @@
switch (opc2) {
case 0x10A: // vrefp (Reciprocal Esimate FP, AV p228)
DIP("vrefp v%d,v%d\n", vD_addr, vB_addr);
- putVReg( vD_addr, unop(Iop_Recip32Fx4, mkexpr(vB)) );
+ putVReg( vD_addr, unop(Iop_RecipEst32Fx4, mkexpr(vB)) );
return True;
case 0x14A: // vrsqrtefp (Reciprocal Sqrt Estimate FP, AV p237)
DIP("vrsqrtefp v%d,v%d\n", vD_addr, vB_addr);
- putVReg( vD_addr, unop(Iop_RSqrt32Fx4, mkexpr(vB)) );
+ putVReg( vD_addr, unop(Iop_RSqrtEst32Fx4, mkexpr(vB)) );
return True;
case 0x18A: // vexptefp (2 Raised to the Exp Est FP, AV p173)