[llvm-commits] patch: x86 vector udiv

Peter Cooper peter_cooper at apple.com
Tue Nov 1 17:40:01 PDT 2011


Hi

Please review this patch for pr8429 to turn vector udiv into vector shrl instructions when dividing by powers of 2.  This was already done on scalars but not on vectors.

I also found that vector shifts were always scalarised on x86 even with SSE on so i turned these into the equivalent intrinsics.

Thanks,
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8429.patch
Type: application/octet-stream
Size: 3112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111101/b52c1482/attachment.obj>


More information about the llvm-commits mailing list