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