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

Unified Diff: test/cctest/test-assembler-arm.cc

Issue 1427003006: Enable ARMv8 32-bit build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | test/mjsunit/math-floor-of-div-nosudiv.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-arm.cc
diff --git a/test/cctest/test-assembler-arm.cc b/test/cctest/test-assembler-arm.cc
index 37cd37c143781ce32d26f1b594f099eaeba9557e..3c91d3a7fa7b1408f20bce5ff8cb82b90dd1adad 100644
--- a/test/cctest/test-assembler-arm.cc
+++ b/test/cctest/test-assembler-arm.cc
@@ -1975,8 +1975,16 @@ TEST(ARMv8_vrintX) {
CHECK_VRINT(inf, inf, inf, inf, inf, inf)
CHECK_VRINT(-inf, -inf, -inf, -inf, -inf, -inf)
CHECK_VRINT(-0.0, -0.0, -0.0, -0.0, -0.0, -0.0)
+
+ // Check NaN propagation.
double nan = std::numeric_limits<double>::quiet_NaN();
- CHECK_VRINT(nan, nan, nan, nan, nan, nan)
+ t.input = nan;
+ dummy = CALL_GENERATED_CODE(f, &t, 0, 0, 0, 0);
+ CHECK_EQ(bit_cast<int64_t>(nan), bit_cast<int64_t>(t.ar));
+ CHECK_EQ(bit_cast<int64_t>(nan), bit_cast<int64_t>(t.nr));
+ CHECK_EQ(bit_cast<int64_t>(nan), bit_cast<int64_t>(t.mr));
+ CHECK_EQ(bit_cast<int64_t>(nan), bit_cast<int64_t>(t.pr));
+ CHECK_EQ(bit_cast<int64_t>(nan), bit_cast<int64_t>(t.zr));
#undef CHECK_VRINT
}
« no previous file with comments | « src/flag-definitions.h ('k') | test/mjsunit/math-floor-of-div-nosudiv.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698