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

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

Issue 1436943002: Implemented the RoundUint64ToFloat64 TurboFan operator for x64 and arm64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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::VisitRoundUint64ToFloat64(Node* node) {
1330 VisitRR(this, kArm64Uint64ToFloat64, node);
1331 }
1332
1333
1329 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { 1334 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) {
1330 VisitRR(this, kArm64Float64ExtractLowWord32, node); 1335 VisitRR(this, kArm64Float64ExtractLowWord32, node);
1331 } 1336 }
1332 1337
1333 1338
1334 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) { 1339 void InstructionSelector::VisitBitcastFloat64ToInt64(Node* node) {
1335 VisitRR(this, kArm64U64MoveFloat64, node); 1340 VisitRR(this, kArm64U64MoveFloat64, node);
1336 } 1341 }
1337 1342
1338 1343
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after
2039 MachineOperatorBuilder::kFloat64RoundTruncate | 2044 MachineOperatorBuilder::kFloat64RoundTruncate |
2040 MachineOperatorBuilder::kFloat64RoundTiesAway | 2045 MachineOperatorBuilder::kFloat64RoundTiesAway |
2041 MachineOperatorBuilder::kWord32ShiftIsSafe | 2046 MachineOperatorBuilder::kWord32ShiftIsSafe |
2042 MachineOperatorBuilder::kInt32DivIsSafe | 2047 MachineOperatorBuilder::kInt32DivIsSafe |
2043 MachineOperatorBuilder::kUint32DivIsSafe; 2048 MachineOperatorBuilder::kUint32DivIsSafe;
2044 } 2049 }
2045 2050
2046 } // namespace compiler 2051 } // namespace compiler
2047 } // namespace internal 2052 } // namespace internal
2048 } // namespace v8 2053 } // 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