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

Unified Diff: test/cctest/compiler/test-run-machops.cc

Issue 2070813002: Revert of [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/x64/codegen-x64.cc ('k') | test/unittests/base/ieee754-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-run-machops.cc
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
index 1f497f1a2430441758a9be0999c5eb8970a52428..ab5c7d90934bb21fe4a0fd7da59d4649c541619e 100644
--- a/test/cctest/compiler/test-run-machops.cc
+++ b/test/cctest/compiler/test-run-machops.cc
@@ -5515,19 +5515,6 @@
CHECK_DOUBLE_EQ(ieee754::atan2(*i, *j), m.Call(*i, *j));
}
}
-}
-
-TEST(RunFloat64Exp) {
- BufferedRawMachineAssemblerTester<double> m(MachineType::Float64());
- m.Return(m.Float64Exp(m.Parameter(0)));
- CHECK(std::isnan(m.Call(std::numeric_limits<double>::quiet_NaN())));
- CHECK(std::isnan(m.Call(std::numeric_limits<double>::signaling_NaN())));
- CHECK_EQ(0.0, m.Call(-std::numeric_limits<double>::infinity()));
- CHECK_DOUBLE_EQ(1.0, m.Call(-0.0));
- CHECK_DOUBLE_EQ(1.0, m.Call(0.0));
- CHECK_DOUBLE_EQ(std::numeric_limits<double>::infinity(),
- m.Call(std::numeric_limits<double>::infinity()));
- FOR_FLOAT64_INPUTS(i) { CHECK_DOUBLE_EQ(ieee754::exp(*i), m.Call(*i)); }
}
TEST(RunFloat64Log) {
« no previous file with comments | « src/x64/codegen-x64.cc ('k') | test/unittests/base/ieee754-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698