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

Side by Side Diff: test/cctest/compiler/value-helper.h

Issue 2105313002: [wasm] Detect unrepresentability in the float32-to-int32 conversion correctly on arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Define the bounds properly in variables. Created 4 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 unified diff | Download patch
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CCTEST_COMPILER_VALUE_HELPER_H_ 5 #ifndef V8_CCTEST_COMPILER_VALUE_HELPER_H_
6 #define V8_CCTEST_COMPILER_VALUE_HELPER_H_ 6 #define V8_CCTEST_COMPILER_VALUE_HELPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 -1.46821e+25f, 75 -1.46821e+25f,
76 -1.17658e+23f, 76 -1.17658e+23f,
77 -1.9617e+22f, 77 -1.9617e+22f,
78 -2.7357e+20f, 78 -2.7357e+20f,
79 -9223372036854775808.0f, // INT64_MIN 79 -9223372036854775808.0f, // INT64_MIN
80 -1.48708e+13f, 80 -1.48708e+13f,
81 -1.89633e+12f, 81 -1.89633e+12f,
82 -4.66622e+11f, 82 -4.66622e+11f,
83 -2.22581e+11f, 83 -2.22581e+11f,
84 -1.45381e+10f, 84 -1.45381e+10f,
85 -2147483649.0f, // INT32_MIN - 1
86 -2147483648.0f, // INT32_MIN
85 -1.3956e+09f, 87 -1.3956e+09f,
86 -1.32951e+09f, 88 -1.32951e+09f,
87 -1.30721e+09f, 89 -1.30721e+09f,
88 -1.19756e+09f, 90 -1.19756e+09f,
89 -9.26822e+08f, 91 -9.26822e+08f,
90 -6.35647e+08f, 92 -6.35647e+08f,
91 -4.00037e+08f, 93 -4.00037e+08f,
92 -1.81227e+08f, 94 -1.81227e+08f,
93 -5.09256e+07f, 95 -5.09256e+07f,
94 -964300.0f, 96 -964300.0f,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 106.0f, 146 106.0f,
145 538.324f, 147 538.324f,
146 564.536f, 148 564.536f,
147 819.124f, 149 819.124f,
148 7048.0f, 150 7048.0f,
149 12611.0f, 151 12611.0f,
150 19878.0f, 152 19878.0f,
151 20309.0f, 153 20309.0f,
152 797056.0f, 154 797056.0f,
153 1.77219e+09f, 155 1.77219e+09f,
156 2147483648.0f, // INT32_MAX + 1
157 4294967296.0f, // UINT32_MAX + 1
154 1.51116e+11f, 158 1.51116e+11f,
155 4.18193e+13f, 159 4.18193e+13f,
156 3.59167e+16f, 160 3.59167e+16f,
157 9223372036854775807.0f, // INT64_MAX 161 9223372036854775807.0f, // INT64_MAX
158 18446744073709551615.0f, // UINT64_MAX 162 18446744073709551615.0f, // UINT64_MAX
159 3.38211e+19f, 163 3.38211e+19f,
160 2.67488e+20f, 164 2.67488e+20f,
161 1.78831e+21f, 165 1.78831e+21f,
162 9.20914e+21f, 166 9.20914e+21f,
163 8.35654e+23f, 167 8.35654e+23f,
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 do { \ 352 do { \
349 volatile double tmp = lhs; \ 353 volatile double tmp = lhs; \
350 CheckDoubleEq(tmp, rhs); \ 354 CheckDoubleEq(tmp, rhs); \
351 } while (0) 355 } while (0)
352 356
353 } // namespace compiler 357 } // namespace compiler
354 } // namespace internal 358 } // namespace internal
355 } // namespace v8 359 } // namespace v8
356 360
357 #endif // V8_CCTEST_COMPILER_VALUE_HELPER_H_ 361 #endif // V8_CCTEST_COMPILER_VALUE_HELPER_H_
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | test/cctest/wasm/test-run-wasm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698