summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math/copysign.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-07-23 15:16:16 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-07-23 15:16:16 +0000
commitf9caca8b9dd26a9e7a13e5ca8be57100578e3432 (patch)
tree967ee4892e5ba7de77572df6a3dd292812c8b611 /libclc/generic/include/clc/math/copysign.h
parent47882923c7b48c00d6c0ea9960b5457e957093c4 (diff)
downloadbcm5719-llvm-f9caca8b9dd26a9e7a13e5ca8be57100578e3432.tar.gz
bcm5719-llvm-f9caca8b9dd26a9e7a13e5ca8be57100578e3432.zip
Implement atan2 builtin
llvm-svn: 213760
Diffstat (limited to 'libclc/generic/include/clc/math/copysign.h')
-rw-r--r--libclc/generic/include/clc/math/copysign.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/copysign.h b/libclc/generic/include/clc/math/copysign.h
new file mode 100644
index 00000000000..9d6cf76deb7
--- /dev/null
+++ b/libclc/generic/include/clc/math/copysign.h
@@ -0,0 +1 @@
+#define copysign(x, y) __builtin_copysign(x, y)
OpenPOWER on IntegriCloud