Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: crosstest/test_vector_ops.def

Issue 401523003: Lower insertelement and extractelement. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_vector_ops.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crosstest/test_vector_ops.def
diff --git a/crosstest/test_vector_ops.def b/crosstest/test_vector_ops.def
new file mode 100644
index 0000000000000000000000000000000000000000..422ed548b62d6eaec78ff07cae63401178f958d9
--- /dev/null
+++ b/crosstest/test_vector_ops.def
@@ -0,0 +1,19 @@
+#ifndef TEST_VECTOR_OPS_DEF
+
+#define VECTOR_TYPE_TABLE \
+/* typename, element type, cast type */ \
+X(v16si8, int8_t, int64_t) \
+X(v16ui8, uint8_t, int64_t) \
+X(v8si16, int16_t, int64_t) \
+X(v8ui16, uint16_t, int64_t) \
+X(v4si32, int32_t, int64_t) \
+X(v4ui32, uint32_t, int64_t) \
+X(v4f32, float, float) \
+
+#define I1_VECTOR_TYPE_TABLE \
+/* typename, expanded type, # elements */ \
+X(v4i1, v4ui32, 4) \
+X(v8i1, v8ui16, 8) \
+X(v16i1, v16ui8, 16) \
+
+#endif
« no previous file with comments | « crosstest/runtests.sh ('k') | crosstest/test_vector_ops.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698