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

Side by Side Diff: crosstest/test_icmp.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.cpp ('k') | crosstest/test_icmp_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_icmp.def - macros for tests -----*- 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 icmp instruction.
11 //
12 //===----------------------------------------------------------------------===//
13
1 #ifndef TEST_ICMP_DEF 14 #ifndef TEST_ICMP_DEF
2 #define TEST_ICMP_DEF 15 #define TEST_ICMP_DEF
3 16
4 #define XSTR(s) STR(s) 17 #define XSTR(s) STR(s)
5 #define STR(s) #s 18 #define STR(s) #s
6 19
7 #define ICMP_U_TABLE \ 20 #define ICMP_U_TABLE \
8 /* cmp, operator */ \ 21 /* cmp, operator */ \
9 X(Eq, ==) \ 22 X(Eq, ==) \
10 X(Ne, !=) \ 23 X(Ne, !=) \
11 X(Ugt, >) \ 24 X(Ugt, >) \
12 X(Uge, >=) \ 25 X(Uge, >=) \
13 X(Ult, <) \ 26 X(Ult, <) \
14 X(Ule, <=) \ 27 X(Ule, <=) \
15 //#define X(cmp, op) 28 //#define X(cmp, op)
16 29
17 #define ICMP_S_TABLE \ 30 #define ICMP_S_TABLE \
18 /* cmp, operator */ \ 31 /* cmp, operator */ \
19 X(Sgt, >) \ 32 X(Sgt, >) \
20 X(Sge, >=) \ 33 X(Sge, >=) \
21 X(Slt, <) \ 34 X(Slt, <) \
22 X(Sle, <=) \ 35 X(Sle, <=) \
23 //#define X(cmp, op) 36 //#define X(cmp, op)
24 37
25 #endif // TEST_ICMP_DEF 38 #endif // TEST_ICMP_DEF
OLDNEW
« no previous file with comments | « crosstest/test_icmp.cpp ('k') | crosstest/test_icmp_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698