|
From: <sv...@va...> - 2013-03-20 15:51:45
|
carll 2013-03-20 15:51:34 +0000 (Wed, 20 Mar 2013)
New Revision: 2697
Log:
VEX, ppc code cleanup
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 <ce...@us...>
Modified files:
trunk/priv/host_ppc_isel.c
Modified: trunk/priv/host_ppc_isel.c (+0 -14)
===================================================================
--- trunk/priv/host_ppc_isel.c 2013-03-12 01:31:24 +00:00 (rev 2696)
+++ trunk/priv/host_ppc_isel.c 2013-03-20 15:51:34 +00:00 (rev 2697)
@@ -4176,20 +4176,6 @@
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) {
|