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

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

Issue 1583323004: [turbofan] Add the TruncateFloat32ToInt32 operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed a small bug 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 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 1222 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
1223 VisitRR(this, kArm64Int32ToFloat64, node); 1223 VisitRR(this, kArm64Int32ToFloat64, node);
1224 } 1224 }
1225 1225
1226 1226
1227 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 1227 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
1228 VisitRR(this, kArm64Uint32ToFloat64, node); 1228 VisitRR(this, kArm64Uint32ToFloat64, node);
1229 } 1229 }
1230 1230
1231 1231
1232 void InstructionSelector::VisitTruncateFloat32ToInt32(Node* node) {
1233 VisitRR(this, kArm64Float32ToInt32, node);
1234 }
1235
1236
1232 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 1237 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
1233 VisitRR(this, kArm64Float64ToInt32, node); 1238 VisitRR(this, kArm64Float64ToInt32, node);
1234 } 1239 }
1235 1240
1236 1241
1237 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { 1242 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) {
1238 VisitRR(this, kArm64Float64ToUint32, node); 1243 VisitRR(this, kArm64Float64ToUint32, node);
1239 } 1244 }
1240 1245
1241 1246
(...skipping 948 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