[PATCH] D101209: [PowerPC] Provide fastmath sqrt and div functions in altivec.h
Nemanja Ivanovic via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 29 03:18:29 PDT 2021
nemanjai updated this revision to Diff 341456.
nemanjai added a comment.
Changed `rsqrt` to be an actual reciprocal rather than just a refined `sqrt` estimate.
I have verified that the code generated is equivalent to gcc's and the results produced are the same.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101209/new/
https://reviews.llvm.org/D101209
Files:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-altivec.c
clang/test/CodeGen/builtins-ppc-vsx.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101209.341456.patch
Type: text/x-patch
Size: 4998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210429/ea8520ff/attachment.bin>
More information about the cfe-commits
mailing list