[libclc] r276495 - geometric/floatn.inc: Add vec8 and vec16 types
Tom Stellard via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 22 16:45:11 PDT 2016
Author: tstellar
Date: Fri Jul 22 18:45:11 2016
New Revision: 276495
URL: http://llvm.org/viewvc/llvm-project?rev=276495&view=rev
Log:
geometric/floatn.inc: Add vec8 and vec16 types
Modified:
libclc/trunk/generic/include/clc/geometric/floatn.inc
Modified: libclc/trunk/generic/include/clc/geometric/floatn.inc
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/geometric/floatn.inc?rev=276495&r1=276494&r2=276495&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/geometric/floatn.inc (original)
+++ libclc/trunk/generic/include/clc/geometric/floatn.inc Fri Jul 22 18:45:11 2016
@@ -19,6 +19,14 @@
#include __CLC_BODY
#undef __CLC_FLOATN
+#define __CLC_FLOATN float8
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
+#define __CLC_FLOATN float16
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
#undef __CLC_FLOAT
#undef __CLC_FPSIZE
@@ -46,6 +54,14 @@
#include __CLC_BODY
#undef __CLC_FLOATN
+#define __CLC_FLOATN double8
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
+#define __CLC_FLOATN double16
+#include __CLC_BODY
+#undef __CLC_FLOATN
+
#undef __CLC_FLOAT
#undef __CLC_FPSIZE
More information about the cfe-commits
mailing list