|
From: <sv...@va...> - 2005-05-02 10:54:38
|
Author: sewardj
Date: 2005-05-02 11:54:34 +0100 (Mon, 02 May 2005)
New Revision: 1153
Modified:
trunk/priv/host-amd64/isel.c
trunk/priv/host-x86/isel.c
Log:
Get rid of some functions made redundant by recent isel reorganisation.
Modified: trunk/priv/host-amd64/isel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-amd64/isel.c 2005-05-02 10:47:22 UTC (rev 1152)
+++ trunk/priv/host-amd64/isel.c 2005-05-02 10:54:34 UTC (rev 1153)
@@ -780,9 +780,7 @@
{
MatchInfo mi;
DECLARE_PATTERN(p_8Uto64);
- DECLARE_PATTERN(p_16Uto64);
DECLARE_PATTERN(p_1Uto8_64to1);
-//.. DECLARE_PATTERN(p_32to1_then_1Uto8);
=20
IRType ty =3D typeOfIRExpr(env->type_env,e);
vassert(ty =3D=3D Ity_I32 || Ity_I16 || Ity_I8);
@@ -1747,7 +1745,6 @@
static AMD64CondCode iselCondCode_wrk ( ISelEnv* env, IRExpr* e )
{
MatchInfo mi;
- DECLARE_PATTERN(p_32to1_64to32);
//.. DECLARE_PATTERN(p_1Uto32_then_32to1);
//.. DECLARE_PATTERN(p_1Sto32_then_32to1);
=20
Modified: trunk/priv/host-x86/isel.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/host-x86/isel.c 2005-05-02 10:47:22 UTC (rev 1152)
+++ trunk/priv/host-x86/isel.c 2005-05-02 10:54:34 UTC (rev 1153)
@@ -97,16 +97,6 @@
return IRExpr_Binop(op, a1, a2);
}
=20
-static IRExpr* mkU64 ( ULong i )
-{
- return IRExpr_Const(IRConst_U64(i));
-}
-
-static IRExpr* mkU32 ( UInt i )
-{
- return IRExpr_Const(IRConst_U32(i));
-}
-
static IRExpr* bind ( Int binder )
{
return IRExpr_Binder(binder);
@@ -256,15 +246,6 @@
/*--- ISEL: Misc helpers ---*/
/*---------------------------------------------------------*/
=20
-/* Is this a 32-bit zero expression? */
-
-static Bool isZero32 ( IRExpr* e )
-{
- return toBool( e->tag =3D=3D Iex_Const
- && e->Iex.Const.con->tag =3D=3D Ico_U32
- && e->Iex.Const.con->Ico.U32 =3D=3D 0 );
-}
-
/* Make a int reg-reg move. */
=20
static X86Instr* mk_iMOVsd_RR ( HReg src, HReg dst )
|