From: Carl Love Date: Thu, 16 Apr 2015 23:17:22 +0000 (+0000) Subject: The vbpermq for Powerpc64 big endian has the same issue as the little X-Git-Tag: svn/VALGRIND_3_11_0^2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2da084608150017aa230a5284cc1b4af04ab465;p=thirdparty%2Fvalgrind.git The vbpermq for Powerpc64 big endian has the same issue as the little endian support. Bugzilla 346270 was reopened to include the BE issue. The bugzilla for the issue is 346270. git-svn-id: svn://svn.valgrind.org/vex/trunk@3136 --- diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c index a098f6f531..3ca2f5590b 100644 --- a/VEX/priv/guest_ppc_toIR.c +++ b/VEX/priv/guest_ppc_toIR.c @@ -17854,18 +17854,11 @@ static Bool dis_av_quad ( UInt theInstr ) mkexpr( vA ), mkexpr( idx ) ) ), mkU8( 127 ) ) ) ); - if (host_endness == VexEndnessLE) - res = binop( Iop_OrV128, - res, - binop( Iop_ShlV128, - mkexpr( perm_bit ), - mkU8( i + 64) ) ); - else - res = binop( Iop_OrV128, - res, - binop( Iop_ShlV128, - mkexpr( perm_bit ), - mkU8( i ) ) ); + res = binop( Iop_OrV128, + res, + binop( Iop_ShlV128, + mkexpr( perm_bit ), + mkU8( i + 64 ) ) ); vB_expr = binop( Iop_ShrV128, vB_expr, mkU8( 8 ) ); } putVReg( vRT_addr, res);