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

Side by Side Diff: crosstest/test_vector_ops.def

Issue 435353002: Subzero: Fix and clean up some cross tests. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix newlines and filename Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « crosstest/test_icmp_main.cpp ('k') | crosstest/test_vector_ops_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/crosstest/test_vector_ops.def - test macros ----*- C++ -*---===//
2 //
3 // The Subzero Code Generator
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines macros for crosstesting the insertelement and
11 // extractelement instruction.
12 //
13 //===----------------------------------------------------------------------===//
14
1 #ifndef TEST_VECTOR_OPS_DEF 15 #ifndef TEST_VECTOR_OPS_DEF
2 16
3 #define VECTOR_TYPE_TABLE \ 17 #define VECTOR_TYPE_TABLE \
4 /* typename, element type, cast type */ \ 18 /* typename, element type, cast type */ \
5 X(v16si8, int8_t, int64_t) \ 19 X(v16si8, int8_t, int64_t) \
6 X(v16ui8, uint8_t, int64_t) \ 20 X(v16ui8, uint8_t, int64_t) \
7 X(v8si16, int16_t, int64_t) \ 21 X(v8si16, int16_t, int64_t) \
8 X(v8ui16, uint16_t, int64_t) \ 22 X(v8ui16, uint16_t, int64_t) \
9 X(v4si32, int32_t, int64_t) \ 23 X(v4si32, int32_t, int64_t) \
10 X(v4ui32, uint32_t, int64_t) \ 24 X(v4ui32, uint32_t, int64_t) \
11 X(v4f32, float, float) \ 25 X(v4f32, float, float) \
12 26
13 #define I1_VECTOR_TYPE_TABLE \ 27 #define I1_VECTOR_TYPE_TABLE \
14 /* typename, expanded type, # elements */ \ 28 /* typename, expanded type, # elements */ \
15 X(v4i1, v4ui32, 4) \ 29 X(v4i1, v4ui32, 4) \
16 X(v8i1, v8ui16, 8) \ 30 X(v8i1, v8ui16, 8) \
17 X(v16i1, v16ui8, 16) \ 31 X(v16i1, v16ui8, 16) \
18 32
19 #endif 33 #endif
OLDNEW
« no previous file with comments | « crosstest/test_icmp_main.cpp ('k') | crosstest/test_vector_ops_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698