| 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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) { | 930 void InstructionSelector::VisitTruncateFloat32ToInt64(Node* node) { |
| 931 UNIMPLEMENTED(); | 931 UNIMPLEMENTED(); |
| 932 } | 932 } |
| 933 | 933 |
| 934 | 934 |
| 935 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { | 935 void InstructionSelector::VisitTruncateFloat64ToInt64(Node* node) { |
| 936 VisitRR(this, kPPC_DoubleToInt64, node); | 936 VisitRR(this, kPPC_DoubleToInt64, node); |
| 937 } | 937 } |
| 938 | 938 |
| 939 | 939 |
| 940 void InstructionSelector::VisitTruncateFloat32ToUint64(Node* node) { |
| 941 UNIMPLEMENTED(); |
| 942 } |
| 943 |
| 944 |
| 940 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { | 945 void InstructionSelector::VisitTruncateFloat64ToUint64(Node* node) { |
| 941 VisitRR(this, kPPC_DoubleToUint64, node); | 946 VisitRR(this, kPPC_DoubleToUint64, node); |
| 942 } | 947 } |
| 943 | 948 |
| 944 | 949 |
| 945 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { | 950 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { |
| 946 // TODO(mbrandy): inspect input to see if nop is appropriate. | 951 // TODO(mbrandy): inspect input to see if nop is appropriate. |
| 947 VisitRR(this, kPPC_ExtendSignWord32, node); | 952 VisitRR(this, kPPC_ExtendSignWord32, node); |
| 948 } | 953 } |
| 949 | 954 |
| (...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1683 MachineOperatorBuilder::kFloat64RoundTruncate | | 1688 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1684 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1689 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1685 MachineOperatorBuilder::kWord32Popcnt | | 1690 MachineOperatorBuilder::kWord32Popcnt | |
| 1686 MachineOperatorBuilder::kWord64Popcnt; | 1691 MachineOperatorBuilder::kWord64Popcnt; |
| 1687 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1692 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 1688 } | 1693 } |
| 1689 | 1694 |
| 1690 } // namespace compiler | 1695 } // namespace compiler |
| 1691 } // namespace internal | 1696 } // namespace internal |
| 1692 } // namespace v8 | 1697 } // namespace v8 |
| OLD | NEW |