llvm-project/libclc/generic/lib/math
Daniel Stone 291bfff5db libclc: Add a __builtin to let SPIRV targets select between SW and HW FMA
Reviewer: jenatali jvesely
Differential Revision: https://reviews.llvm.org/D85910
2020-09-16 01:37:22 -04:00
..
acos.cl libclc: Use acos implementation from amd_builtins 2020-02-20 23:36:14 -05:00
acosh.cl
acospi.cl
asin.cl libclc/asin: Switch to amd builtins version of asin 2020-02-04 14:29:20 -05:00
asinh.cl
asinpi.cl
atan.cl
atan2.cl
atan2pi.cl
atanh.cl
atanpi.cl
binary_impl.inc
cbrt.cl
ceil.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
clc_exp10.cl exp10: Port from amd builtins 2018-04-17 18:08:08 +00:00
clc_fma.cl math/fma: Add fp32 software implementation 2018-06-07 20:27:43 +00:00
clc_fmod.cl fmod: Port from amd_builtins 2018-04-06 17:43:08 +00:00
clc_hypot.cl hypot: Port from amd builtins 2018-04-10 00:11:58 +00:00
clc_ldexp.cl
clc_nextafter.cl Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
clc_pow.cl pow: Use denormal path only 2018-04-17 19:35:28 +00:00
clc_pown.cl pown: Use denormal path only 2018-04-17 19:35:30 +00:00
clc_powr.cl powr: Use denormal path only 2018-04-17 19:35:32 +00:00
clc_remainder.cl remainder: Port from amd builtins 2018-03-19 01:01:10 +00:00
clc_remquo.cl remquo: Flush denormals if not supported 2018-05-03 05:44:28 +00:00
clc_rootn.cl rootn: Use denormal path only 2018-05-15 04:22:43 +00:00
clc_sqrt.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
clc_sqrt_impl.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
clc_sw_binary.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
clc_sw_unary.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
clc_tan.cl tan: Port from amd_builtins 2018-01-19 18:57:19 +00:00
clc_tanpi.cl tanpi: Port from amd_builtins 2018-01-19 18:57:22 +00:00
copysign.cl Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
cos.cl
cosh.cl
cospi.cl
ep_log.cl
ep_log.h
erf.cl
erfc.cl
exp.cl
exp2.cl
exp10.cl exp10: Port from amd builtins 2018-04-17 18:08:08 +00:00
exp_helper.cl
exp_helper.h
expm1.cl
fabs.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
fdim.cl Move cl_khr_fp64 exntension enablement to gentype include lists 2018-03-06 17:48:35 +00:00
fdim.inc
floor.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
fma.cl math/fma: Add fp32 software implementation 2018-06-07 20:27:43 +00:00
fma.inc math/fma: Add fp32 software implementation 2018-06-07 20:27:43 +00:00
fmax.cl Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
fmax.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
fmin.cl Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
fmin.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
fmod.cl fmod: Port from amd_builtins 2018-04-06 17:43:08 +00:00
fract.cl Move cl_khr_fp64 exntension enablement to gentype include lists 2018-03-06 17:48:35 +00:00
fract.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
frexp.cl frexp: Reuse types provided by gentype.inc 2018-03-06 17:48:45 +00:00
frexp.inc frexp: Reuse types provided by gentype.inc 2018-03-06 17:48:45 +00:00
half_binary.inc half_divide: Implement using x/y 2018-01-18 21:12:06 +00:00
half_cos.cl half_cos: Implement using cos 2018-01-18 21:11:40 +00:00
half_divide.cl half_divide: Implement using x/y 2018-01-18 21:12:06 +00:00
half_exp.cl half_exp: Implement using exp 2018-01-18 21:11:43 +00:00
half_exp2.cl half_exp2: Implement using exp2 2018-01-18 21:11:45 +00:00
half_exp10.cl half_exp10: Implement using exp10 2018-01-18 21:11:48 +00:00
half_log.cl half_log: Implement using log 2018-01-18 21:11:50 +00:00
half_log2.cl half_log2: Implement using log2 2018-01-18 21:11:56 +00:00
half_log10.cl half_log10: Implement using log10 2018-01-18 21:11:53 +00:00
half_powr.cl half_powr: Implement using powr 2018-02-01 03:00:35 +00:00
half_recip.cl half_recip: Implement using 1/x 2018-01-18 21:11:58 +00:00
half_rsqrt.cl half_rsqrt: Cleanup implementation 2018-01-18 21:11:35 +00:00
half_sin.cl half_sin: Implement using sin 2018-01-18 21:12:01 +00:00
half_sqrt.cl half_sqrt: Cleanup implementation 2018-01-18 21:11:38 +00:00
half_tan.cl half_tan: Implement using tan 2018-01-18 21:12:04 +00:00
half_unary.inc half_rsqrt: Cleanup implementation 2018-01-18 21:11:35 +00:00
hypot.cl hypot: Port from amd builtins 2018-04-10 00:11:58 +00:00
ilogb.cl libclc: Fix FP_ILOGBNAN definition 2020-08-17 13:45:43 -07:00
ldexp.cl Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
ldexp.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
lgamma.cl
lgamma_r.cl lgamma_r: Move code from .inc to .cl file 2018-03-06 17:48:47 +00:00
lgamma_r.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
log.cl
log1p.cl
log2.cl
log10.cl log10: Use sw implementation from amd builtins 2018-04-23 21:10:42 +00:00
log_base.h log10: Use sw implementation from amd builtins 2018-04-23 21:10:42 +00:00
logb.cl
mad.cl Move cl_khr_fp64 exntension enablement to gentype include lists 2018-03-06 17:48:35 +00:00
mad.inc
math.h libclc: Add a __builtin to let SPIRV targets select between SW and HW FMA 2020-09-16 01:37:22 -04:00
maxmag.cl maxmag: Condition variable needs to be the same bitwidth as operands 2018-03-06 17:48:38 +00:00
maxmag.inc maxmag: Condition variable needs to be the same bitwidth as operands 2018-03-06 17:48:38 +00:00
minmag.cl minmag: Condition variable needs to be the same bitwidth as operands 2018-03-06 17:48:40 +00:00
minmag.inc minmag: Condition variable needs to be the same bitwidth as operands 2018-03-06 17:48:40 +00:00
modf.cl Move cl_khr_fp64 exntension enablement to gentype include lists 2018-03-06 17:48:35 +00:00
modf.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
nan.cl nan: Implement 2018-03-12 19:46:52 +00:00
nan.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
native_cos.cl native_cos: Switch implementation to llvm intrinsic 2017-11-10 22:16:33 +00:00
native_divide.cl native_divide: provide function implementation instead of macro 2017-11-13 18:28:56 +00:00
native_divide.inc native_divide: provide function implementation instead of macro 2017-11-13 18:28:56 +00:00
native_exp.cl native_exp: Switch implementation to llvm intrinsic 2017-11-10 22:16:28 +00:00
native_exp2.cl native_exp2: Switch implementation to llvm intrinsic 2017-11-10 22:16:31 +00:00
native_exp10.cl native_exp10: Switch implementation to llvm intrinsic 2017-11-10 22:16:41 +00:00
native_exp10.inc math: Use precomputed constant for log2(10.0) 2017-11-13 18:28:45 +00:00
native_log.cl native_log: Switch to generic native intrinsic inc file 2017-11-10 22:16:20 +00:00
native_log2.cl
native_log10.cl native_log10: Switch to generic native intrinsic inc file 2017-11-10 22:16:22 +00:00
native_powr.cl native_powr: Switch implementation to native_exp2 and native_log2 2017-11-14 21:55:41 +00:00
native_powr.inc native_powr: Switch implementation to native_exp2 and native_log2 2017-11-14 21:55:41 +00:00
native_recip.cl native_recip: provide function implementation instead of macro 2017-11-13 18:28:53 +00:00
native_recip.inc native_recip: provide function implementation instead of macro 2017-11-13 18:28:53 +00:00
native_rsqrt.cl native_rsqrt: Switch implementation to 1 / native_sqrt 2017-11-13 18:28:51 +00:00
native_rsqrt.inc native_rsqrt: Switch implementation to 1 / native_sqrt 2017-11-13 18:28:51 +00:00
native_sin.cl native_sin: Switch implementation to llvm intrinsic 2017-11-10 22:16:36 +00:00
native_sqrt.cl native_sqrt: Switch implementation to llvm intrinsic 2017-11-10 22:16:39 +00:00
native_tan.cl native_tan: Switch implementation to use native_sin/native_cos 2017-11-13 18:28:48 +00:00
native_tan.inc native_tan: Switch implementation to use native_sin/native_cos 2017-11-13 18:28:48 +00:00
native_unary_intrinsic.inc Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
nextafter.cl
pow.cl pow: Port from amd_builtins 2018-01-17 21:21:35 +00:00
pown.cl pown: Port from amd_builtins 2018-01-17 21:22:03 +00:00
pown.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
powr.cl powr: Port from amd_builtins 2018-01-17 21:22:06 +00:00
remainder.cl remainder: Port from amd builtins 2018-03-19 01:01:10 +00:00
remquo.cl remquo: Port from amd builtins 2018-05-03 05:44:26 +00:00
remquo.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
rint.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
rootn.cl rootn: Port from amd_builtins 2018-01-17 21:22:14 +00:00
rootn.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
round.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
rsqrt.cl libclc: Move rsqrt implementation to a .cl file 2020-02-09 14:42:09 -05:00
sin.cl
sincos.cl Move cl_khr_fp64 exntension enablement to gentype include lists 2018-03-06 17:48:35 +00:00
sincos.inc Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
sincosD_piby4.h tan: Port from amd_builtins 2018-01-19 18:57:19 +00:00
sincos_helpers.cl tan: Port from amd_builtins 2018-01-19 18:57:19 +00:00
sincos_helpers.h tan: Port from amd_builtins 2018-01-19 18:57:19 +00:00
sincospiF_piby4.h
sinh.cl
sinpi.cl
sqrt.cl sqrt: Split function generation to a shared inc file. 2019-03-13 07:05:56 +00:00
tables.cl log10: Use sw implementation from amd builtins 2018-04-23 21:10:42 +00:00
tables.h log10: Use sw implementation from amd builtins 2018-04-23 21:10:42 +00:00
tan.cl tan: Port from amd_builtins 2018-01-19 18:57:19 +00:00
tanh.cl
tanpi.cl tanpi: Port from amd_builtins 2018-01-19 18:57:22 +00:00
tgamma.cl
trunc.cl Move unary_instrinsic.inc to private headers. 2019-03-13 07:06:19 +00:00
unary_builtin.inc sqrt: Split function generation to a shared inc file. 2019-03-13 07:05:56 +00:00