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

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

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reformated the test 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
« 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 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { 1319 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) {
1320 VisitRR(this, kArm64Int64ToFloat32, node); 1320 VisitRR(this, kArm64Int64ToFloat32, node);
1321 } 1321 }
1322 1322
1323 1323
1324 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { 1324 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
1325 VisitRR(this, kArm64Int64ToFloat64, node); 1325 VisitRR(this, kArm64Int64ToFloat64, node);
1326 } 1326 }
1327 1327
1328 1328
1329 void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) {
1330 VisitRR(this, kArm64Uint64ToFloat32, node);
1331 }
1332
1333
1329 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { 1334 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) {
1330 VisitRR(this, kArm64Uint64ToFloat64, node); 1335 VisitRR(this, kArm64Uint64ToFloat64, node);
1331 } 1336 }
1332 1337
1333 1338
1334 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { 1339 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) {
1335 VisitRR(this, kArm64Float64ExtractLowWord32, node); 1340 VisitRR(this, kArm64Float64ExtractLowWord32, node);
1336 } 1341 }
1337 1342
1338 1343
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 MachineOperatorBuilder::kFloat64RoundTiesAway | 2061 MachineOperatorBuilder::kFloat64RoundTiesAway |
2057 MachineOperatorBuilder::kFloat64RoundTiesEven | 2062 MachineOperatorBuilder::kFloat64RoundTiesEven |
2058 MachineOperatorBuilder::kWord32ShiftIsSafe | 2063 MachineOperatorBuilder::kWord32ShiftIsSafe |
2059 MachineOperatorBuilder::kInt32DivIsSafe | 2064 MachineOperatorBuilder::kInt32DivIsSafe |
2060 MachineOperatorBuilder::kUint32DivIsSafe; 2065 MachineOperatorBuilder::kUint32DivIsSafe;
2061 } 2066 }
2062 2067
2063 } // namespace compiler 2068 } // namespace compiler
2064 } // namespace internal 2069 } // namespace internal
2065 } // namespace v8 2070 } // 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