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

Side by Side Diff: src/compiler/ppc/instruction-selector-ppc.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/ppc/instruction-codes-ppc.h ('k') | src/compiler/raw-machine-assembler.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/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) { 966 void InstructionSelector::VisitRoundInt64ToFloat32(Node* node) {
967 VisitRR(this, kPPC_Int64ToFloat32, node); 967 VisitRR(this, kPPC_Int64ToFloat32, node);
968 } 968 }
969 969
970 970
971 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) { 971 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
972 VisitRR(this, kPPC_Int64ToDouble, node); 972 VisitRR(this, kPPC_Int64ToDouble, node);
973 } 973 }
974 974
975 975
976 void InstructionSelector::VisitRoundUint64ToFloat32(Node* node) {
977 VisitRR(this, kPPC_Uint64ToFloat32, node);
978 }
979
980
976 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { 981 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) {
977 VisitRR(this, kPPC_Uint64ToDouble, node); 982 VisitRR(this, kPPC_Uint64ToDouble, node);
978 } 983 }
979 #endif 984 #endif
980 985
981 986
982 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { 987 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) {
983 VisitRR(this, kPPC_BitcastFloat32ToInt32, node); 988 VisitRR(this, kPPC_BitcastFloat32ToInt32, node);
984 } 989 }
985 990
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 MachineOperatorBuilder::kFloat64RoundTruncate | 1652 MachineOperatorBuilder::kFloat64RoundTruncate |
1648 MachineOperatorBuilder::kFloat64RoundTiesAway | 1653 MachineOperatorBuilder::kFloat64RoundTiesAway |
1649 MachineOperatorBuilder::kWord32Popcnt | 1654 MachineOperatorBuilder::kWord32Popcnt |
1650 MachineOperatorBuilder::kWord64Popcnt; 1655 MachineOperatorBuilder::kWord64Popcnt;
1651 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1656 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1652 } 1657 }
1653 1658
1654 } // namespace compiler 1659 } // namespace compiler
1655 } // namespace internal 1660 } // namespace internal
1656 } // namespace v8 1661 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-codes-ppc.h ('k') | src/compiler/raw-machine-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698