summaryrefslogtreecommitdiff
path: root/generic/include/clc/math/sqrt.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/include/clc/math/sqrt.h')
-rw-r--r--generic/include/clc/math/sqrt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/generic/include/clc/math/sqrt.h b/generic/include/clc/math/sqrt.h
new file mode 100644
index 0000000..a000e24
--- /dev/null
+++ b/generic/include/clc/math/sqrt.h
@@ -0,0 +1,6 @@
+#undef sqrt
+#define sqrt __clc_sqrt
+
+#define FUNCTION __clc_sqrt
+#define INTRINSIC "llvm.sqrt"
+#include <clc/math/unary_intrin.inc>