]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix two cases of PPCAvFpOp vs PPCFpOp enum confusion, as spotted
authorJulian Seward <jseward@acm.org>
Wed, 19 Oct 2016 07:41:35 +0000 (07:41 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 19 Oct 2016 07:41:35 +0000 (07:41 +0000)
by Clang-3.8.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3273

VEX/priv/host_ppc_isel.c

index ae64a69c87e8798c625cb8d5981bba80bf19fc3a..d2c4cb15b1ec2529e0859a04f73c45e8bb2809ba 100644 (file)
@@ -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);