summaryrefslogtreecommitdiffstats
path: root/libclc/generic/include/clc/math
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2017-11-15 04:10:37 +0000
committerJan Vesely <jan.vesely@rutgers.edu>2017-11-15 04:10:37 +0000
commit7ba243cc3de1cc83f013daa1b84d74f51158d406 (patch)
tree29d931e0f10e0fa4c976417085e368b566d0bec5 /libclc/generic/include/clc/math
parent28742faf4967e6a869300617e2d95a14ab69485d (diff)
downloadbcm5719-llvm-7ba243cc3de1cc83f013daa1b84d74f51158d406.tar.gz
bcm5719-llvm-7ba243cc3de1cc83f013daa1b84d74f51158d406.zip
math: Implement maxmag
Reviewer: Aaron Watry Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 318264
Diffstat (limited to 'libclc/generic/include/clc/math')
-rw-r--r--libclc/generic/include/clc/math/maxmag.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libclc/generic/include/clc/math/maxmag.h b/libclc/generic/include/clc/math/maxmag.h
new file mode 100644
index 00000000000..4230da9f15a
--- /dev/null
+++ b/libclc/generic/include/clc/math/maxmag.h
@@ -0,0 +1,7 @@
+#define __CLC_BODY <clc/math/binary_decl_tt.inc>
+#define __CLC_FUNCTION maxmag
+
+#include <clc/math/gentype.inc>
+
+#undef __CLC_BODY
+#undef __CLC_FUNCTION
OpenPOWER on IntegriCloud