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

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

Issue 1475343002: Revert of [turbofan] Implemented the TruncateFloat32ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/macro-assembler-x64.cc ('k') | no next file » | 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 7ae8bc0f9c4cfcb14e94add68c2b81156b59081e..872c0d8b7bf547352face30ba1d419b8ebae98fc 100644
--- a/test/cctest/compiler/test-run-machops.cc
+++ b/test/cctest/compiler/test-run-machops.cc
@@ -5372,24 +5372,6 @@
}
-TEST(RunTruncateFloat32ToInt64) {
- BufferedRawMachineAssemblerTester<int64_t> m(kMachFloat32);
- m.Return(m.TruncateFloat32ToInt64(m.Parameter(0)));
-
- FOR_INT64_INPUTS(i) {
- float input = static_cast<float>(*i);
- if (input < 9223372036854775808.0 && input > -9223372036854775809.0) {
- CHECK_EQ(static_cast<int64_t>(input), m.Call(input));
- }
- }
- FOR_FLOAT32_INPUTS(j) {
- if (*j < 9223372036854775808.0 && *j > -9223372036854775809.0) {
- CHECK_EQ(static_cast<int64_t>(*j), m.Call(*j));
- }
- }
-}
-
-
TEST(RunTruncateFloat64ToInt64) {
BufferedRawMachineAssemblerTester<int64_t> m(kMachFloat64);
m.Return(m.TruncateFloat64ToInt64(m.Parameter(0)));
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698