Author: sewardj Date: 2008-02-09 01:49:32 +0000 (Sat, 09 Feb 2008) New Revision: 7384
Log: Tool-side support for the new primops required by SSSE3 instructions. I think this is all that is required on the tools side. Modified: trunk/memcheck/mc_translate.c Modified: trunk/memcheck/mc_translate.c =================================================================== --- trunk/memcheck/mc_translate.c 2008-02-08 15:17:07 UTC (rev 7383) +++ trunk/memcheck/mc_translate.c 2008-02-09 01:49:32 UTC (rev 7384) @@ -1924,6 +1924,7 @@ case Iop_SarN32x2: case Iop_ShlN16x4: case Iop_ShlN32x2: + case Iop_ShlN8x8: /* Same scheme as with all other shifts. */ complainIfUndefined(mce, atom2); return assignNew(mce, Ity_I64, binop(op, vatom1, atom2)); @@ -1963,6 +1964,7 @@ return binary16Ix4(mce, vatom1, vatom2); case Iop_Sub32x2: + case Iop_Mul32x2: case Iop_CmpGT32Sx2: case Iop_CmpEQ32x2: case Iop_Add32x2: @@ -1975,8 +1977,20 @@ case Iop_InterleaveHI32x2: case Iop_InterleaveHI16x4: case Iop_InterleaveHI8x8: + case Iop_CatOddLanes16x4: + case Iop_CatEvenLanes16x4: return assignNew(mce, Ity_I64, binop(op, vatom1, vatom2)); + /* Perm8x8: rearrange values in left arg using steering values + from right arg. So rearrange the vbits in the same way but + pessimise wrt steering values. */ + case Iop_Perm8x8: + return mkUifU64( + mce, + assignNew(mce, Ity_I64, binop(op, vatom1, atom2)), + mkPCast8x8(mce, vatom2) + ); + /* V128-bit SIMD */ case Iop_ShrN16x8: ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers