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

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

Issue 1476063002: [turbofan] Implemented the TruncateFloat32ToInt64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Increased the type of opcodes from uint8_t to uint16_t. Created 5 years 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
« no previous file with comments | « src/compiler/arm64/instruction-codes-arm64.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1230 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 1230 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
1231 VisitRR(this, kArm64Float64ToInt32, node); 1231 VisitRR(this, kArm64Float64ToInt32, node);
1232 } 1232 }
1233 1233
1234 1234
1235 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { 1235 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) {
1236 VisitRR(this, kArm64Float64ToUint32, node); 1236 VisitRR(this, kArm64Float64ToUint32, node);
1237 } 1237 }
1238 1238
1239 1239
1240 void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) {
1241 VisitRR(this, kArm64Float32ToInt64, node);
1242 }
1243
1244
1240 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { 1245 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) {
1241 VisitRR(this, kArm64Float64ToInt64, node); 1246 VisitRR(this, kArm64Float64ToInt64, node);
1242 } 1247 }
1243 1248
1244 1249
1245 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { 1250 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) {
1246 VisitRR(this, kArm64Float64ToUint64, node); 1251 VisitRR(this, kArm64Float64ToUint64, node);
1247 } 1252 }
1248 1253
1249 1254
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 MachineOperatorBuilder::kFloat32RoundTiesEven | 2101 MachineOperatorBuilder::kFloat32RoundTiesEven |
2097 MachineOperatorBuilder::kFloat64RoundTiesEven | 2102 MachineOperatorBuilder::kFloat64RoundTiesEven |
2098 MachineOperatorBuilder::kWord32ShiftIsSafe | 2103 MachineOperatorBuilder::kWord32ShiftIsSafe |
2099 MachineOperatorBuilder::kInt32DivIsSafe | 2104 MachineOperatorBuilder::kInt32DivIsSafe |
2100 MachineOperatorBuilder::kUint32DivIsSafe; 2105 MachineOperatorBuilder::kUint32DivIsSafe;
2101 } 2106 }
2102 2107
2103 } // namespace compiler 2108 } // namespace compiler
2104 } // namespace internal 2109 } // namespace internal
2105 } // namespace v8 2110 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-codes-arm64.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698