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

Side by Side Diff: crosstest/test_arith.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_arith.cpp ('k') | crosstest/test_arith_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_arith.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 arithmetic operations.
11 //
12 //===----------------------------------------------------------------------===//
13
1 #ifndef TEST_ARITH_DEF 14 #ifndef TEST_ARITH_DEF
2 #define TEST_ARITH_DEF 15 #define TEST_ARITH_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 UINTOP_TABLE \ 20 #define UINTOP_TABLE \
8 /* inst, operator, div */ \ 21 /* inst, operator, div */ \
9 X(Add, +, 0 ) \ 22 X(Add, +, 0 ) \
10 X(Sub, -, 0 ) \ 23 X(Sub, -, 0 ) \
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 0x7fffffff, 0x80000000, 0x80000001, \ 72 0x7fffffff, 0x80000000, 0x80000001, \
60 0xfffffffe, 0xffffffff, 0x100000000ll, \ 73 0xfffffffe, 0xffffffff, 0x100000000ll, \
61 0x100000001ll, 0x7ffffffffffffffell, 0x7fffffffffffffffll, \ 74 0x100000001ll, 0x7ffffffffffffffell, 0x7fffffffffffffffll, \
62 0x8000000000000000ll, 0x8000000000000001ll, 0xfffffffffffffffell, \ 75 0x8000000000000000ll, 0x8000000000000001ll, 0xfffffffffffffffell, \
63 0xffffffffffffffffll, NegInf, PosInf, \ 76 0xffffffffffffffffll, NegInf, PosInf, \
64 Nan, NegNan, -0.0, \ 77 Nan, NegNan, -0.0, \
65 FLT_MIN, FLT_MAX, DBL_MIN, \ 78 FLT_MIN, FLT_MAX, DBL_MIN, \
66 DBL_MAX } 79 DBL_MAX }
67 80
68 #endif // TEST_ARITH_DEF 81 #endif // TEST_ARITH_DEF
OLDNEW
« no previous file with comments | « crosstest/test_arith.cpp ('k') | crosstest/test_arith_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698