OLD | NEW |
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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 VisitRR(this, kPPC_DoubleToInt32, node); | 920 VisitRR(this, kPPC_DoubleToInt32, node); |
921 } | 921 } |
922 | 922 |
923 | 923 |
924 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { | 924 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) { |
925 VisitRR(this, kPPC_DoubleToUint32, node); | 925 VisitRR(this, kPPC_DoubleToUint32, node); |
926 } | 926 } |
927 | 927 |
928 | 928 |
929 #if V8_TARGET_ARCH_PPC64 | 929 #if V8_TARGET_ARCH_PPC64 |
930 void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) { | |
931 UNIMPLEMENTED(); | |
932 } | |
933 | |
934 | |
935 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { | 930 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { |
936 VisitRR(this, kPPC_DoubleToInt64, node); | 931 VisitRR(this, kPPC_DoubleToInt64, node); |
937 } | 932 } |
938 | 933 |
939 | 934 |
940 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { | 935 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
941 VisitRR(this, kPPC_DoubleToUint64, node); | 936 VisitRR(this, kPPC_DoubleToUint64, node); |
942 } | 937 } |
943 | 938 |
944 | 939 |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 MachineOperatorBuilder::kFloat64RoundTruncate | | 1668 MachineOperatorBuilder::kFloat64RoundTruncate | |
1674 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1669 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1675 MachineOperatorBuilder::kWord32Popcnt | | 1670 MachineOperatorBuilder::kWord32Popcnt | |
1676 MachineOperatorBuilder::kWord64Popcnt; | 1671 MachineOperatorBuilder::kWord64Popcnt; |
1677 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1672 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
1678 } | 1673 } |
1679 | 1674 |
1680 } // namespace compiler | 1675 } // namespace compiler |
1681 } // namespace internal | 1676 } // namespace internal |
1682 } // namespace v8 | 1677 } // namespace v8 |
OLD | NEW |