native_log2: Switch to generic native intrinsic inc file
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 10 Nov 2017 22:16:15 +0000 (22:16 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 10 Nov 2017 22:16:15 +0000 (22:16 +0000)
commitf58dee9f3a5773dfebcd60df60781c12def0f718
tree22f1dffa84fa6d013dff404b2e7080c47c18e1c2
parent4abbbcc1998fd08a5a3a5bb266914ec1cb12ab2e
native_log2: Switch to generic native intrinsic inc file

v2: Add __CLC_XCONCAT instead of function name redirection
    Use __CLC_XCONCAT for intrinsic functions as well

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 317932
libclc/generic/include/utils.h [new file with mode: 0644]
libclc/generic/lib/math/native_log2.cl
libclc/generic/lib/math/native_unary_intrinsic.inc [moved from libclc/generic/lib/math/native_log2.inc with 70% similarity]