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