[PATCH] D33053: [PowerPC] Implement vec_xxpermdi builtin.
Tony Jiang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 10 10:27:04 PDT 2017
jtony created this revision.
The vec_xxpermdi builtin is missing from altivec.h. This has been requested by developers working on libvpx for VP9 support for Google. Initially, I tried to define a new intrinsic to map it to the corresponding PowerPC hard instruction (XXPERMDI) directly. But there was feedback from the community that this can be done without introducing new intrinsic. This patch re-implement the vec_xxpermdi builtin by using the existing shuffleVector instruction just in the FE.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 14113 bytes
Desc: not available
More information about the cfe-commits