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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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::VisitChangeFloat64ToInt64(Node* node) { | 930 void InstructionSelector::VisitChangeFloat64ToInt64(Node* node) { |
931 VisitRR(this, kPPC_DoubleToInt64, node); | 931 VisitRR(this, kPPC_DoubleToInt64, node); |
932 } | 932 } |
933 | 933 |
934 | 934 |
| 935 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
| 936 UNIMPLEMENTED(); |
| 937 } |
| 938 |
| 939 |
935 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 940 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
936 // TODO(mbrandy): inspect input to see if nop is appropriate. | 941 // TODO(mbrandy): inspect input to see if nop is appropriate. |
937 VisitRR(this, kPPC_ExtendSignWord32, node); | 942 VisitRR(this, kPPC_ExtendSignWord32, node); |
938 } | 943 } |
939 | 944 |
940 | 945 |
941 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { | 946 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { |
942 // TODO(mbrandy): inspect input to see if nop is appropriate. | 947 // TODO(mbrandy): inspect input to see if nop is appropriate. |
943 VisitRR(this, kPPC_Uint32ToUint64, node); | 948 VisitRR(this, kPPC_Uint32ToUint64, node); |
944 } | 949 } |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1657 MachineOperatorBuilder::kFloat64RoundTruncate | | 1662 MachineOperatorBuilder::kFloat64RoundTruncate | |
1658 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1663 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1659 MachineOperatorBuilder::kWord32Popcnt | | 1664 MachineOperatorBuilder::kWord32Popcnt | |
1660 MachineOperatorBuilder::kWord64Popcnt; | 1665 MachineOperatorBuilder::kWord64Popcnt; |
1661 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1666 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
1662 } | 1667 } |
1663 | 1668 |
1664 } // namespace compiler | 1669 } // namespace compiler |
1665 } // namespace internal | 1670 } // namespace internal |
1666 } // namespace v8 | 1671 } // namespace v8 |
OLD | NEW |