LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File valgrind-3.6.0-ppc_isel.patch of Package valgrind (Project home:gnb:novaprova)

--- valgrind/VEX/priv/host_ppc_isel.c.jj	2011-08-01 19:06:25.000000000 +0200
+++ valgrind/VEX/priv/host_ppc_isel.c	2011-08-01 19:07:12.000000000 +0200
@@ -1601,8 +1601,7 @@ static HReg iselWordExpr_R_wrk ( ISelEnv
       case Iop_16Sto64: {
          HReg   r_dst = newVRegI(env);
          HReg   r_src = iselWordExpr_R(env, e->Iex.Unop.arg);
-         UShort amt   = toUShort(op_unop==Iop_8Sto64  ? 56 :
-                                 op_unop==Iop_16Sto64 ? 48 : 32);
+         UShort amt   = toUShort(op_unop==Iop_8Sto64  ? 56 : 48);
          vassert(mode64);
          addInstr(env,
                   PPCInstr_Shft(Pshft_SHL, False/*64bit shift*/,