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

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

Issue 1628133002: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add arm/arm64 implementation Created 4 years, 10 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 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) { 1222 void InstructionSelector::VisitRoundInt32ToFloat32(Node* node) {
1223 VisitRR(this, kArm64Int32ToFloat32, node); 1223 VisitRR(this, kArm64Int32ToFloat32, node);
1224 } 1224 }
1225 1225
1226 1226
1227 void InstructionSelector::VisitRoundUint32ToFloat32(Node* node) {
1228 VisitRR(this, kArm64Uint32ToFloat32, node);
1229 }
1230
1231
1227 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 1232 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
1228 VisitRR(this, kArm64Int32ToFloat64, node); 1233 VisitRR(this, kArm64Int32ToFloat64, node);
1229 } 1234 }
1230 1235
1231 1236
1232 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 1237 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
1233 VisitRR(this, kArm64Uint32ToFloat64, node); 1238 VisitRR(this, kArm64Uint32ToFloat64, node);
1234 } 1239 }
1235 1240
1236 1241
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
2197 MachineOperatorBuilder::kFloat32RoundTiesEven | 2202 MachineOperatorBuilder::kFloat32RoundTiesEven |
2198 MachineOperatorBuilder::kFloat64RoundTiesEven | 2203 MachineOperatorBuilder::kFloat64RoundTiesEven |
2199 MachineOperatorBuilder::kWord32ShiftIsSafe | 2204 MachineOperatorBuilder::kWord32ShiftIsSafe |
2200 MachineOperatorBuilder::kInt32DivIsSafe | 2205 MachineOperatorBuilder::kInt32DivIsSafe |
2201 MachineOperatorBuilder::kUint32DivIsSafe; 2206 MachineOperatorBuilder::kUint32DivIsSafe;
2202 } 2207 }
2203 2208
2204 } // namespace compiler 2209 } // namespace compiler
2205 } // namespace internal 2210 } // namespace internal
2206 } // namespace v8 2211 } // 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