Chromium Code Reviews

Unified Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1424333002: [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester
Patch Set: Renamed ChangeInt64ToFloat64 to RoundInt64ToFloat64, and removed the Signed64 type again. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/compiler/arm64/instruction-selector-arm64.cc
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc
index bf7d54dfe3a71ac250ab39e6b72dca0f6fd289f5..00b1cd16c576b2c0adc50dc2850e759b88849955 100644
--- a/src/compiler/arm64/instruction-selector-arm64.cc
+++ b/src/compiler/arm64/instruction-selector-arm64.cc
@@ -1188,6 +1188,11 @@ void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
}
+void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
+ VisitRR(this, kArm64Int64ToFloat64, node);
+}
+
+
void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
VisitRR(this, kArm64Uint32ToFloat64, node);
}

Powered by Google App Engine