[PATCH] D53928: Enable builtins necessary for SLEEF [AArch64] vectorized trigonometry libm functions
Stefan Teleman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 04:04:46 PDT 2018
steleman created this revision.
steleman added a reviewer: joel_k_jones.
Herald added subscribers: kristina, kristof.beyls, javed.absar.
This changeset adds the required Builtins for enabling AArch64 vectorization of libm trigonometry functions via SLEEF: http://sleef.org/.
- A new argument is added to -fveclib=<X>: SLEEF.
- A number of Builtins that were previously unimplemented are now enabled.
This changeset depends on https://reviews.llvm.org/D53927.
List of SLEEF vectorized trigonometry functions:
acos
asin
atan
atanh
cos
cosh
exp
exp2
exp10
lgamma
log10
log2
log
pow
sin
sinh
sqrt
tan
tanh
tgamma
Repository:
rC Clang
https://reviews.llvm.org/D53928
Files:
include/clang/Basic/Builtins.def
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGBuiltin.cpp
lib/Frontend/CompilerInvocation.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53928.171888.patch
Type: text/x-patch
Size: 9067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181031/1b01e774/attachment-0001.bin>
More information about the cfe-commits
mailing list