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

Side by Side Diff: src/compiler/mips64/instruction-selector-mips64.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/mips64/instruction-codes-mips64.h ('k') | src/compiler/opcodes.h » ('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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { 620 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) {
621 VisitRR(this, kMips64CvtSL, node); 621 VisitRR(this, kMips64CvtSL, node);
622 } 622 }
623 623
624 624
625 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { 625 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
626 VisitRR(this, kMips64CvtDL, node); 626 VisitRR(this, kMips64CvtDL, node);
627 } 627 }
628 628
629 629
630 void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) {
631 VisitRR(this, kMips64CvtSUl, node);
632 }
633
634
630 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { 635 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) {
631 VisitRR(this, kMips64CvtDUl, node); 636 VisitRR(this, kMips64CvtDUl, node);
632 } 637 }
633 638
634 639
635 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { 640 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) {
636 VisitRR(this, kMips64Float64ExtractLowWord32, node); 641 VisitRR(this, kMips64Float64ExtractLowWord32, node);
637 } 642 }
638 643
639 644
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 MachineOperatorBuilder::kFloat32Max | 1408 MachineOperatorBuilder::kFloat32Max |
1404 MachineOperatorBuilder::kFloat64RoundDown | 1409 MachineOperatorBuilder::kFloat64RoundDown |
1405 MachineOperatorBuilder::kFloat64RoundUp | 1410 MachineOperatorBuilder::kFloat64RoundUp |
1406 MachineOperatorBuilder::kFloat64RoundTruncate | 1411 MachineOperatorBuilder::kFloat64RoundTruncate |
1407 MachineOperatorBuilder::kFloat64RoundTiesEven; 1412 MachineOperatorBuilder::kFloat64RoundTiesEven;
1408 } 1413 }
1409 1414
1410 } // namespace compiler 1415 } // namespace compiler
1411 } // namespace internal 1416 } // namespace internal
1412 } // namespace v8 1417 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-codes-mips64.h ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698