[PATCH] Lower _mm256_broadcastsi128_si256 to a vector shuffle
Juergen Ributzka
juergen at apple.com
Mon Mar 2 14:57:51 PST 2015
Hi @ll,
this little patch lowers the AVX2 intrinsic _mm256_broadcastsi128_si256 (which calls __builtin_ia32_vbroadcastsi256) to a vector shuffle instead of another LLVM intrinsic (llvm.x86.avx2.vbroadcasti128).
This change would allow LLVM to generate better code and we could remove the LLVM intrinsic, because it isn’t used anymore.
Cheers,
Juergen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbroadcastsi256.patch
Type: application/octet-stream
Size: 1545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150302/e051248e/attachment.obj>
-------------- next part --------------
More information about the cfe-commits
mailing list