| 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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 VisitRRR(this, kPPC_ModU64, node); | 933 VisitRRR(this, kPPC_ModU64, node); |
| 934 } | 934 } |
| 935 #endif | 935 #endif |
| 936 | 936 |
| 937 | 937 |
| 938 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { | 938 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { |
| 939 VisitRR(this, kPPC_Float32ToDouble, node); | 939 VisitRR(this, kPPC_Float32ToDouble, node); |
| 940 } | 940 } |
| 941 | 941 |
| 942 | 942 |
| 943 void InstructionSelector::VisitRoundInt32ToFloat32(Node* node) { |
| 944 VisitRR(this, kPPC_Int32ToFloat32, node); |
| 945 } |
| 946 |
| 947 |
| 943 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { | 948 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { |
| 944 VisitRR(this, kPPC_Int32ToDouble, node); | 949 VisitRR(this, kPPC_Int32ToDouble, node); |
| 945 } | 950 } |
| 946 | 951 |
| 947 | 952 |
| 948 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { | 953 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { |
| 949 VisitRR(this, kPPC_Uint32ToDouble, node); | 954 VisitRR(this, kPPC_Uint32ToDouble, node); |
| 950 } | 955 } |
| 951 | 956 |
| 952 | 957 |
| (...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1763 MachineOperatorBuilder::kFloat64RoundTruncate | | 1768 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1764 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1769 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1765 MachineOperatorBuilder::kWord32Popcnt | | 1770 MachineOperatorBuilder::kWord32Popcnt | |
| 1766 MachineOperatorBuilder::kWord64Popcnt; | 1771 MachineOperatorBuilder::kWord64Popcnt; |
| 1767 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1772 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 1768 } | 1773 } |
| 1769 | 1774 |
| 1770 } // namespace compiler | 1775 } // namespace compiler |
| 1771 } // namespace internal | 1776 } // namespace internal |
| 1772 } // namespace v8 | 1777 } // namespace v8 |
| OLD | NEW |