[PATCH] D115429: [Clang] Implement the rest of __builtin_elementwise_* functions.
Jun Zhang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 15 06:19:34 PST 2021
junaire added a comment.
> The RFC does not mention this builtin. It specifies `__builtin_elementwise_rint` and `__builtin_elementwise_round`. Is there a reason why this uses `roundeven` instead and should there be other rounding options provided at the same time?
Well, I think there may be a misunderstanding. I referenced: https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins
There is this builtin:
T __builtin_elementwise_roundeven(T x)
But I just found in the RFC(https://lists.llvm.org/pipermail/cfe-dev/2021-September/068999.html), we have:
• __builtin_elementwise_rint
• __builtin_elementwise_round
It looks confusing, I would like to review the RFC again.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115429/new/
https://reviews.llvm.org/D115429
More information about the cfe-commits
mailing list