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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 1589363002: [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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 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 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 void InstructionSelector::VisitUint64Mod(Node* node) { 1212 void InstructionSelector::VisitUint64Mod(Node* node) {
1213 VisitRRR(this, kArm64Umod, node); 1213 VisitRRR(this, kArm64Umod, node);
1214 } 1214 }
1215 1215
1216 1216
1217 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 1217 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
1218 VisitRR(this, kArm64Float32ToFloat64, node); 1218 VisitRR(this, kArm64Float32ToFloat64, node);
1219 } 1219 }
1220 1220
1221 1221
1222 void InstructionSelector::VisitRoundInt32ToFloat32(Node* node) {
1223 VisitRR(this, kArm64Int32ToFloat32, node);
1224 }
1225
1226
1222 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 1227 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
1223 VisitRR(this, kArm64Int32ToFloat64, node); 1228 VisitRR(this, kArm64Int32ToFloat64, node);
1224 } 1229 }
1225 1230
1226 1231
1227 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 1232 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
1228 VisitRR(this, kArm64Uint32ToFloat64, node); 1233 VisitRR(this, kArm64Uint32ToFloat64, node);
1229 } 1234 }
1230 1235
1231 1236
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
2190 MachineOperatorBuilder::kFloat32RoundTiesEven | 2195 MachineOperatorBuilder::kFloat32RoundTiesEven |
2191 MachineOperatorBuilder::kFloat64RoundTiesEven | 2196 MachineOperatorBuilder::kFloat64RoundTiesEven |
2192 MachineOperatorBuilder::kWord32ShiftIsSafe | 2197 MachineOperatorBuilder::kWord32ShiftIsSafe |
2193 MachineOperatorBuilder::kInt32DivIsSafe | 2198 MachineOperatorBuilder::kInt32DivIsSafe |
2194 MachineOperatorBuilder::kUint32DivIsSafe; 2199 MachineOperatorBuilder::kUint32DivIsSafe;
2195 } 2200 }
2196 2201
2197 } // namespace compiler 2202 } // namespace compiler
2198 } // namespace internal 2203 } // namespace internal
2199 } // namespace v8 2204 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-scheduler-arm64.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698