21427b8eb8
Add clspv as a new target for libclc. clspv is an open-source compiler that compiles OpenCL C to Vulkan SPIR-V. Compiles for the spir target. The clspv target differs from the the spirv target in the following ways: * fma is modified to use uint2 instead of ulong for mantissas. This results in lower performance fma, but provides a implementation that can be used on more Vulkan devices where 64-bit integer support is less common. * Use of a software implementation of nextafter because the generic implementation depends on nextafter being a defined builtin function for which clspv has no definition. * Full optimization of the library (-O3) and no conversion to SPIR-V This library is close to what would be produced by running opt -O3 < builtins.opt.spirv-mesa3d-.bc > builtins.opt.clspv--.bc and continuing the build from that point. Reviewer: jvesely Differential Revision: https://reviews.llvm.org/D94013
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
subnormal_config.cl
|
|
../../generic/lib/geometric/distance.cl
|
|
../../generic/lib/geometric/length.cl
|
|
math/fma.cl
|
|
math/nextafter.cl
|
|
../../generic/lib/math/acosh.cl
|
|
../../generic/lib/math/asinh.cl
|
|
../../generic/lib/math/atan.cl
|
|
../../generic/lib/math/atan2.cl
|
|
../../generic/lib/math/atan2pi.cl
|
|
../../generic/lib/math/atanh.cl
|
|
../../generic/lib/math/atanpi.cl
|
|
../../generic/lib/math/cbrt.cl
|
|
../../generic/lib/math/clc_fmod.cl
|
|
../../generic/lib/math/clc_hypot.cl
|
|
../../generic/lib/math/clc_ldexp.cl
|
|
../../generic/lib/math/clc_nextafter.cl
|
|
../../generic/lib/math/clc_remainder.cl
|
|
../../generic/lib/math/clc_remquo.cl
|
|
../../generic/lib/math/clc_rootn.cl
|
|
../../generic/lib/math/clc_sqrt.cl
|
|
../../generic/lib/math/clc_tan.cl
|
|
../../generic/lib/math/erf.cl
|
|
../../generic/lib/math/erfc.cl
|
|
../../generic/lib/math/fmod.cl
|
|
../../generic/lib/math/fract.cl
|
|
../../generic/lib/math/frexp.cl
|
|
../../generic/lib/math/half_divide.cl
|
|
../../generic/lib/math/half_recip.cl
|
|
../../generic/lib/math/half_sqrt.cl
|
|
../../generic/lib/math/hypot.cl
|
|
../../generic/lib/math/ilogb.cl
|
|
../../generic/lib/math/ldexp.cl
|
|
../../generic/lib/math/lgamma.cl
|
|
../../generic/lib/math/lgamma_r.cl
|
|
../../generic/lib/math/logb.cl
|
|
../../generic/lib/math/maxmag.cl
|
|
../../generic/lib/math/minmag.cl
|
|
../../generic/lib/math/modf.cl
|
|
../../generic/lib/math/nan.cl
|
|
../../generic/lib/math/remainder.cl
|
|
../../generic/lib/math/remquo.cl
|
|
../../generic/lib/math/rootn.cl
|
|
../../generic/lib/math/rsqrt.cl
|
|
../../generic/lib/math/sqrt.cl
|
|
../../generic/lib/math/tables.cl
|
|
../../generic/lib/math/tanh.cl
|
|
../../generic/lib/math/tgamma.cl
|