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

Side by Side 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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 1181 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
1182 VisitRR(this, kArm64Float32ToFloat64, node); 1182 VisitRR(this, kArm64Float32ToFloat64, node);
1183 } 1183 }
1184 1184
1185 1185
1186 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 1186 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
1187 VisitRR(this, kArm64Int32ToFloat64, node); 1187 VisitRR(this, kArm64Int32ToFloat64, node);
1188 } 1188 }
1189 1189
1190 1190
1191 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
1192 VisitRR(this, kArm64Int64ToFloat64, node);
1193 }
1194
1195
1191 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 1196 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
1192 VisitRR(this, kArm64Uint32ToFloat64, node); 1197 VisitRR(this, kArm64Uint32ToFloat64, node);
1193 } 1198 }
1194 1199
1195 1200
1196 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 1201 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
1197 VisitRR(this, kArm64Float64ToInt32, node); 1202 VisitRR(this, kArm64Float64ToInt32, node);
1198 } 1203 }
1199 1204
1200 1205
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1974 MachineOperatorBuilder::kFloat64RoundTruncate | 1979 MachineOperatorBuilder::kFloat64RoundTruncate |
1975 MachineOperatorBuilder::kFloat64RoundTiesAway | 1980 MachineOperatorBuilder::kFloat64RoundTiesAway |
1976 MachineOperatorBuilder::kWord32ShiftIsSafe | 1981 MachineOperatorBuilder::kWord32ShiftIsSafe |
1977 MachineOperatorBuilder::kInt32DivIsSafe | 1982 MachineOperatorBuilder::kInt32DivIsSafe |
1978 MachineOperatorBuilder::kUint32DivIsSafe; 1983 MachineOperatorBuilder::kUint32DivIsSafe;
1979 } 1984 }
1980 1985
1981 } // namespace compiler 1986 } // namespace compiler
1982 } // namespace internal 1987 } // namespace internal
1983 } // namespace v8 1988 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698