summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math/exp2.h
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/generic/include/clc/math/exp2.h')
-rw-r--r--libclc/generic/include/clc/math/exp2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/exp2.h b/libclc/generic/include/clc/math/exp2.h
new file mode 100644
index 00000000000..fe916338290
--- /dev/null
+++ b/libclc/generic/include/clc/math/exp2.h
@@ -0,0 +1,6 @@
+#undef exp2
+#define exp2 __clc_exp2
+
+#define FUNCTION __clc_exp2
+#define INTRINSIC "llvm.exp2"
+#include <clc/math/unary_intrin.inc>
OpenPOWER on IntegriCloud