OLD | NEW |
---|---|
1 //===- subzero/crosstest/test_arith.def - macros for tests ----*- C++ -*---===// | 1 //===- subzero/crosstest/test_arith.def - macros for tests ----*- C++ -*---===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file defines macros for crosstesting arithmetic operations. | 10 // This file defines macros for crosstesting arithmetic operations. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 0xfffe, 0xffff, 0x7ffffffe, \ | 74 0xfffe, 0xffff, 0x7ffffffe, \ |
75 0x7fffffff, 0x80000000, 0x80000001, \ | 75 0x7fffffff, 0x80000000, 0x80000001, \ |
76 0xfffffffe, 0xffffffff, 0x100000000ll, \ | 76 0xfffffffe, 0xffffffff, 0x100000000ll, \ |
77 0x100000001ll, 0x7ffffffffffffffell, 0x7fffffffffffffffll, \ | 77 0x100000001ll, 0x7ffffffffffffffell, 0x7fffffffffffffffll, \ |
78 0x8000000000000000ll, 0x8000000000000001ll, 0xfffffffffffffffell, \ | 78 0x8000000000000000ll, 0x8000000000000001ll, 0xfffffffffffffffell, \ |
79 0xffffffffffffffffll, NegInf, PosInf, \ | 79 0xffffffffffffffffll, NegInf, PosInf, \ |
80 Nan, NegNan, -0.0, \ | 80 Nan, NegNan, -0.0, \ |
81 10.0, FLT_MIN, FLT_MAX, \ | 81 10.0, FLT_MIN, FLT_MAX, \ |
82 DBL_MIN, DBL_MAX } | 82 DBL_MIN, DBL_MAX } |
83 | 83 |
84 #define MULIMM_TABLE \ | |
Jim Stichnoth
2015/11/24 19:32:20
80-col alignment. Tag, you're it!
John
2015/11/24 20:26:55
Done.
| |
85 /* mult_by */ \ | |
86 X( 0) \ | |
87 X( 1) \ | |
88 X( 2) \ | |
89 X( 3) \ | |
90 X( 4) \ | |
91 X( 5) \ | |
92 X( 7) \ | |
93 X( 8) \ | |
94 X( 9) \ | |
95 X( 10) \ | |
96 X( 25) \ | |
97 X( 100) \ | |
98 X( 232) \ | |
99 X(0x00FFF001) \ | |
100 X(0x01000000) \ | |
101 X(0x7FFFF07F) \ | |
102 X(0x80000000) \ | |
103 //#define X(mult_by) | |
104 | |
84 #endif // TEST_ARITH_DEF | 105 #endif // TEST_ARITH_DEF |
OLD | NEW |