]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The vbpermq for Powerpc64 big endian has the same issue as the little
authorCarl Love <cel@us.ibm.com>
Thu, 16 Apr 2015 23:17:22 +0000 (23:17 +0000)
committerCarl Love <cel@us.ibm.com>
Thu, 16 Apr 2015 23:17:22 +0000 (23:17 +0000)
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

VEX/priv/guest_ppc_toIR.c

index a098f6f531493bc5f5ad37d1378b285401656dc5..3ca2f5590bc33a63f2df8e0e5e56e02a610272d0 100644 (file)
@@ -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);