summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Love <carll@us.ibm.com>2017-10-04 10:54:07 -0500
committerCarl Love <carll@us.ibm.com>2017-10-04 10:54:07 -0500
commitc618e707d3e24853cd1e0b71deb981f2dc4ae8d4 (patch)
tree67f4cd10e6f7a7086bcb9a275133a69131f226fc
parentPPC64, Add support for xscmpeqdp, xscmpgtdp, xscmpgedp, xsmincdp instructions. (diff)
downloadvalgrind-c618e707d3e24853cd1e0b71deb981f2dc4ae8d4.tar.gz
valgrind-c618e707d3e24853cd1e0b71deb981f2dc4ae8d4.tar.bz2
valgrind-c618e707d3e24853cd1e0b71deb981f2dc4ae8d4.tar.xz
PPC64, revert the change to vperm instruction.
The patch was in my git tree with the patch I intended to apply. I didn't realize the patch was in the tree. Git applied both patches. Still investigating the vperm change to see if it is really needed.
-rw-r--r--VEX/priv/guest_ppc_toIR.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c
index 6b2157d..b5b0d03 100644
--- a/VEX/priv/guest_ppc_toIR.c
+++ b/VEX/priv/guest_ppc_toIR.c
@@ -24296,12 +24296,12 @@ static Bool dis_av_permute ( UInt theInstr )
24296 IRTemp vC_andF = newTemp(Ity_V128); 24296 IRTemp vC_andF = newTemp(Ity_V128);
24297 DIP("vperm v%d,v%d,v%d,v%d\n", 24297 DIP("vperm v%d,v%d,v%d,v%d\n",
24298 vD_addr, vA_addr, vB_addr, vC_addr); 24298 vD_addr, vA_addr, vB_addr, vC_addr);
24299 /* Limit the Perm8x16 steering values to 0 .. 31 as that is what 24299 /* Limit the Perm8x16 steering values to 0 .. 15 as that is what
24300 IR specifies, and also to hide irrelevant bits from 24300 IR specifies, and also to hide irrelevant bits from
24301 memcheck */ 24301 memcheck */
24302 assign( vC_andF, 24302 assign( vC_andF,
24303 binop(Iop_AndV128, mkexpr(vC), 24303 binop(Iop_AndV128, mkexpr(vC),
24304 unop(Iop_Dup8x16, mkU8(0x1F))) ); 24304 unop(Iop_Dup8x16, mkU8(0xF))) );
24305 assign( a_perm, 24305 assign( a_perm,
24306 binop(Iop_Perm8x16, mkexpr(vA), mkexpr(vC_andF)) ); 24306 binop(Iop_Perm8x16, mkexpr(vA), mkexpr(vC_andF)) );
24307 assign( b_perm, 24307 assign( b_perm,