diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2015-05-13 03:55:07 +0000 |
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2015-05-13 03:55:07 +0000 |
| commit | d538fdc217fd575790670953c9e0247125bf6740 (patch) | |
| tree | 35d975391bac8499cee5176c71220764c32a75bd /libclc/generic/lib/math/tables.h | |
| parent | 0cabcf211a929a4003f75cfa3348713062232400 (diff) | |
| download | bcm5719-llvm-d538fdc217fd575790670953c9e0247125bf6740.tar.gz bcm5719-llvm-d538fdc217fd575790670953c9e0247125bf6740.zip | |
Implement exp2 using OpenCL C rather than using an intrinsic
Not all targets support the intrinsic, so it's better to have a
generic implementation which does not use it.
This exp2 implementation was ported from the AMD builtin library
and has been tested with piglit, OpenCV, and the ocl conformance tests.
llvm-svn: 237228
Diffstat (limited to 'libclc/generic/lib/math/tables.h')
| -rw-r--r-- | libclc/generic/lib/math/tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/generic/lib/math/tables.h b/libclc/generic/lib/math/tables.h index d09adf15567..55ff8537faf 100644 --- a/libclc/generic/lib/math/tables.h +++ b/libclc/generic/lib/math/tables.h @@ -48,5 +48,5 @@ TABLE_FUNCTION_DECL(uint4, pibits_tbl); TABLE_FUNCTION_DECL(double2, ln_tbl); TABLE_FUNCTION_DECL(double2, atan_jby256_tbl); - +TABLE_FUNCTION_DECL(double2, two_to_jby64_ep_tbl); #endif // cl_khr_fp64 |

