| 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 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::VisitRoundUint64ToFloat64(Node* node) { | 976 void InstructionSelector::VisitRoundUint64ToFloat64(Node* node) { |
| 977 UNIMPLEMENTED(); | 977 VisitRR(this, kPPC_Uint64ToDouble, node); |
| 978 } | 978 } |
| 979 #endif | 979 #endif |
| 980 | 980 |
| 981 | 981 |
| 982 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { | 982 void InstructionSelector::VisitBitcastFloat32ToInt32(Node* node) { |
| 983 VisitRR(this, kPPC_BitcastFloat32ToInt32, node); | 983 VisitRR(this, kPPC_BitcastFloat32ToInt32, node); |
| 984 } | 984 } |
| 985 | 985 |
| 986 | 986 |
| 987 #if V8_TARGET_ARCH_PPC64 | 987 #if V8_TARGET_ARCH_PPC64 |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1636 MachineOperatorBuilder::kFloat64RoundTruncate | | 1636 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1637 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1637 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1638 MachineOperatorBuilder::kWord32Popcnt | | 1638 MachineOperatorBuilder::kWord32Popcnt | |
| 1639 MachineOperatorBuilder::kWord64Popcnt; | 1639 MachineOperatorBuilder::kWord64Popcnt; |
| 1640 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1640 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 } // namespace compiler | 1643 } // namespace compiler |
| 1644 } // namespace internal | 1644 } // namespace internal |
| 1645 } // namespace v8 | 1645 } // namespace v8 |
| OLD | NEW |