Chromium Code Reviews

Unified Diff: src/compiler/raw-machine-assembler.h

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/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index cfb88ef7b39a73c7685af62dfd78d854e2925fee..1d0a98010d7f71e38cf5913e15ef8b6180d81d16 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -433,6 +433,9 @@ class RawMachineAssembler {
Node* ChangeInt32ToFloat64(Node* a) {
return AddNode(machine()->ChangeInt32ToFloat64(), a);
}
+ Node* RoundInt64ToFloat64(Node* a) {
rossberg 2015/11/03 10:46:32 Nit: maybe move it down to the Truncate operators.
ahaas 2015/11/03 15:03:38 Done.
+ return AddNode(machine()->RoundInt64ToFloat64(), a);
+ }
Node* ChangeUint32ToFloat64(Node* a) {
return AddNode(machine()->ChangeUint32ToFloat64(), a);
}

Powered by Google App Engine