summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2018-04-17 18:08:08 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2018-04-17 18:08:08 +0000
commit15c388cd79b9fc431bf579fbab3ca15663585c7d (patch)
treef84e6e58ef159302e9354a9990f7194d45e3e241 /libclc/generic/include
parent0c47e8f37d19c87775a155560742c3649741b95e (diff)
downloadbcm5719-llvm-15c388cd79b9fc431bf579fbab3ca15663585c7d.tar.gz
bcm5719-llvm-15c388cd79b9fc431bf579fbab3ca15663585c7d.zip
exp10: Port from amd builtins
Passes CTS on carrizo and turks. Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed and Tested (on RX 580) by: Aaron Watry <awatry@gmail.com> llvm-svn: 330197
Diffstat (limited to 'libclc/generic/include')
-rw-r--r--libclc/generic/include/math/clc_exp10.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libclc/generic/include/math/clc_exp10.h b/libclc/generic/include/math/clc_exp10.h
new file mode 100644
index 00000000000..30061b63010
--- /dev/null
+++ b/libclc/generic/include/math/clc_exp10.h
@@ -0,0 +1,4 @@
+#define __CLC_FUNCTION __clc_exp10
+#define __CLC_BODY <clc/math/unary_decl.inc>
+#include <clc/math/gentype.inc>
+#undef __CLC_FUNCTION
OpenPOWER on IntegriCloud