diff options
| author | Joel Jones <joelkevinjones@gmail.com> | 2018-11-24 06:41:39 +0000 |
|---|---|---|
| committer | Joel Jones <joelkevinjones@gmail.com> | 2018-11-24 06:41:39 +0000 |
| commit | 5f533c5fe1e2e683eb345d7ad97b33334163a8f8 (patch) | |
| tree | 63a2de403e1394b5a896521aa379348a4d0be270 /llvm/tools/llvm-mca/lib/InstrBuilder.cpp | |
| parent | 479f018b2b8944128bdbdb9e0e686662e457ee93 (diff) | |
| download | bcm5719-llvm-5f533c5fe1e2e683eb345d7ad97b33334163a8f8.tar.gz bcm5719-llvm-5f533c5fe1e2e683eb345d7ad97b33334163a8f8.zip | |
[AArch64] Enable libm vectorized functions via SLEEF
This changeset is modeled after Intel's submission for SVML. It enables
trigonometry functions vectorization via SLEEF: http://sleef.org/.
* A new vectorization library enum is added to TargetLibraryInfo.h: SLEEF.
* A new option is added to TargetLibraryInfoImpl - ClVectorLibrary: SLEEF.
* A comprehensive test case is included in this changeset.
* In a separate changeset (for clang), a new vectorization library argument is
added to -fveclib: -fveclib=SLEEF.
Trigonometry functions that are vectorized by sleef:
acos
asin
atan
atanh
cos
cosh
exp
exp2
exp10
lgamma
log10
log2
log
sin
sinh
sqrt
tan
tanh
tgamma
Patch by Stefan Teleman
Differential Revision: https://reviews.llvm.org/D53927
llvm-svn: 347510
Diffstat (limited to 'llvm/tools/llvm-mca/lib/InstrBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

