diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-01-08 22:09:58 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-01-08 22:09:58 +0000 |
commit | 6937ba961c6fb0f59b53f3b22c5aef78982b10d5 (patch) | |
tree | 7a74c51a5dca9603f69d5f7fe6b6068f4b21c7d2 /generic/include/clc/math/sqrt.h | |
parent | 256deb0078b9b1c04e0eeba559ca3a2887fc4551 (diff) |
Initial commit.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@147756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'generic/include/clc/math/sqrt.h')
-rw-r--r-- | generic/include/clc/math/sqrt.h | 6 |
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> |