Files
clang-p2996/libclc/generic/include/clc/math
Aaron Watry d6d0454231 math: Add ilogb ported from amd-builtins
The scalar float/double function bodies are a direct copy/paste
with usage of the CLC wrappers to vectorize them.

This commit also adds in the FP_ILOGB0 and FP_ILOGBNAN macros which are
equal to the results of ilogb(0.0f) and ilogb(float nan) respectively.

v2: Add FP_ILOGB0 and FP_ILOGBNAN definitions

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
v1 Reviewed-by: Tom Stellard <thomas.stellard@amd.com>

llvm-svn: 261639
2016-02-23 14:43:09 +00:00
..
2015-07-24 18:07:12 +00:00
2015-07-24 18:07:12 +00:00
2015-07-24 18:07:14 +00:00
2015-07-24 18:07:14 +00:00
2016-01-27 14:52:10 +00:00
2016-01-27 14:52:10 +00:00
2015-09-29 06:39:09 +00:00
2015-09-29 06:39:09 +00:00