[PATCH] D107899: [PowerPC] Implement builtin for vbpermd
Bardia Mahjour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 28 06:44:27 PDT 2021
bmahjour added inline comments.
================
Comment at: clang/lib/Headers/altivec.h:17349
+static __inline__ vector unsigned char __ATTRS_o_ai
+vec_bperm(vector unsigned char __a, vector unsigned char __b) {
+ return __builtin_altivec_vbpermq(__a, __b);
----------------
bmahjour wrote:
> `vbpermq` variants should be guarded under `__POWER8_VECTOR__`
never mind, looks like it already is guarded under P8.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107899/new/
https://reviews.llvm.org/D107899
More information about the cfe-commits
mailing list