[PATCH] D87394: [PowerPC][Power10] Implementation of 128-bit Binary Vector Mod and Sign Extend builtins
Albion Fung via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 12:18:27 PDT 2020
Conanap added inline comments.
================
Comment at: clang/lib/Headers/altivec.h:17394
+static __inline__ vector signed __int128 __ATTRS_o_ai
+vec_mod(vector signed __int128 __a, vector signed __int128 __b) {
+ return __builtin_altivec_vmodsq(__a, __b);
----------------
amyk wrote:
> nit: Move these under the existing `vec_mod` builtins.
> Also, is it possible for these to be open coded instead? We have `vec_mod` for other types that are open coded.
>
Probably? Although the downsteram impementation is actually not open coded. We can still change it though.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87394/new/
https://reviews.llvm.org/D87394
More information about the cfe-commits
mailing list