math: Implement native_log10
authorJan Vesely <jan.vesely@rutgers.edu>
Wed, 25 Oct 2017 16:49:22 +0000 (16:49 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Wed, 25 Oct 2017 16:49:22 +0000 (16:49 +0000)
commit47e093da9b48260e6f030fc21a96ef03b4a1fec5
tree9b8410be2a7a2f25bbb121050916679947b70a69
parent9fedbb9d8e0c43cead1dbb5ae5877ee02a18ea3d
math: Implement native_log10

Use llvm instrinsic by default
Provide amdgpu workaround

v2: drop old amd copyrights

Reviewer: Aaron Watry
Reviewed-by: Vedran Miletić <vedran@miletic.net>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 316588
libclc/amdgpu/lib/SOURCES
libclc/amdgpu/lib/math/native_log10.cl [new file with mode: 0644]
libclc/amdgpu/lib/math/native_log10.inc [new file with mode: 0644]
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/math/native_log10.h [new file with mode: 0644]
libclc/generic/include/clc/math/native_log10.inc [new file with mode: 0644]
libclc/generic/lib/SOURCES
libclc/generic/lib/math/native_log10.cl [new file with mode: 0644]
libclc/generic/lib/math/native_log10.inc [new file with mode: 0644]