From: Julian Seward Date: Wed, 19 Oct 2016 07:41:35 +0000 (+0000) Subject: Fix two cases of PPCAvFpOp vs PPCFpOp enum confusion, as spotted X-Git-Tag: svn/VALGRIND_3_12_0^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8935c1a98cc4a3f10ace24e0ab06af923ea8ea91;p=thirdparty%2Fvalgrind.git Fix two cases of PPCAvFpOp vs PPCFpOp enum confusion, as spotted by Clang-3.8. git-svn-id: svn://svn.valgrind.org/vex/trunk@3273 --- diff --git a/VEX/priv/host_ppc_isel.c b/VEX/priv/host_ppc_isel.c index ae64a69c87..d2c4cb15b1 100644 --- a/VEX/priv/host_ppc_isel.c +++ b/VEX/priv/host_ppc_isel.c @@ -4210,7 +4210,7 @@ static HReg iselDblExpr_wrk ( ISelEnv* env, IRExpr* e, IREndness IEndianess ) HReg tmp = newVRegV(env); PPCAMode* zero_r1 = PPCAMode_IR( 0, StackFramePtr(env->mode64) ); PPCAMode* eight_r1 = PPCAMode_IR( 8, StackFramePtr(env->mode64) ); - PPCAvFpOp fpop = Pavfp_INVALID; + PPCFpOp fpop = Pfp_INVALID; if (FPU_rounding_mode_isOdd(e->Iex.Binop.arg1)) { /* use rounding mode specified by RN. Issue inst with R0 = 0 */ @@ -4495,7 +4495,7 @@ static HReg iselFp128Expr( ISelEnv* env, IRExpr* e, IREndness IEndianess ) static HReg iselFp128Expr_wrk( ISelEnv* env, IRExpr* e, IREndness IEndianess) { Bool mode64 = env->mode64; - PPCAvFpOp fpop = Pavfp_INVALID; + PPCFpOp fpop = Pfp_INVALID; IRType ty = typeOfIRExpr(env->type_env,e); vassert(e);