llvm-project/libclc/generic/lib
Aaron Watry 8872800eff math: Add frexp ported from amd-builtins
The float implementation is almost a direct port from the amd-builtins,
but instead of just having a scalar and float4 implementation, it has
a scalar and arbitrary width vector implementation.

The double scalar is also a direct port from AMD's builtin release.

The double vector implementation copies the logic in the float vector
implementation using the values from the double scalar version.

Both have been tested in piglit using tests sent to that project's
mailing list.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 260114
2016-02-08 17:07:21 +00:00
..
async Implement async_work_group_copy builtin v3 2014-10-03 19:49:39 +00:00
atomic atomic: Add generic atom[ic]_cmpxchg 2014-09-16 22:34:49 +00:00
cl_khr_global_int32_base_atomics atomic: Add generic atom[ic]_cmpxchg 2014-09-16 22:34:49 +00:00
cl_khr_global_int32_extended_atomics atomic: Add generic atomic_min implementation 2014-09-16 22:34:41 +00:00
cl_khr_local_int32_base_atomics atomic: Add generic atom[ic]_cmpxchg 2014-09-16 22:34:49 +00:00
cl_khr_local_int32_extended_atomics atomic: Add generic atomic_min implementation 2014-09-16 22:34:41 +00:00
common Move mix from math to common 2015-03-03 21:25:08 +00:00
geometric geometric: Limit fast_{distance,length} functions to single precision 2015-05-09 22:31:01 +00:00
image Add image attribute getter builtins 2015-09-21 14:47:53 +00:00
integer Implement generic mad_sat 2014-09-02 17:55:02 +00:00
math math: Add frexp ported from amd-builtins 2016-02-08 17:07:21 +00:00
relational Fix bitselect for float/double types v2 2015-03-05 15:31:05 +00:00
shared vload/vstore: Use casts instead of scalarizing everything in CLC version 2014-08-20 13:58:57 +00:00
workitem PTX: move implementations of work-item and synchronisation functions 2012-08-05 22:25:37 +00:00
SOURCES math: Add frexp ported from amd-builtins 2016-02-08 17:07:21 +00:00
clcmacro.h Add _CLC_V_V_VP_VECTORIZE macro 2016-01-27 14:52:07 +00:00
gen_convert.py Fix definition of INFINITY and add NAN/HUGE_VAL[F] 2014-06-16 22:32:58 +00:00
subnormal_config.cl configure: Add --enable-runtime-subnormal option 2015-04-20 18:49:50 +00:00
subnormal_disable.ll configure: Add --enable-runtime-subnormal option 2015-04-20 18:49:50 +00:00
subnormal_helper_func.ll configure: Add --enable-runtime-subnormal option 2015-04-20 18:49:50 +00:00
subnormal_use_default.ll configure: Add --enable-runtime-subnormal option 2015-04-20 18:49:50 +00:00