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 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1121 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
1122 VisitRR(this, kPPC_SqrtDouble, node); | 1122 VisitRR(this, kPPC_SqrtDouble, node); |
1123 } | 1123 } |
1124 | 1124 |
1125 | 1125 |
1126 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1126 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
1127 VisitRR(this, kPPC_SqrtDouble, node); | 1127 VisitRR(this, kPPC_SqrtDouble, node); |
1128 } | 1128 } |
1129 | 1129 |
1130 | 1130 |
| 1131 void InstructionSelector::VisitFloat32RoundDown(Node* node) { UNIMPLEMENTED(); } |
| 1132 |
| 1133 |
1131 void InstructionSelector::VisitFloat64RoundDown(Node* node) { | 1134 void InstructionSelector::VisitFloat64RoundDown(Node* node) { |
1132 VisitRR(this, kPPC_FloorDouble, node); | 1135 VisitRR(this, kPPC_FloorDouble, node); |
1133 } | 1136 } |
1134 | 1137 |
1135 | 1138 |
1136 void InstructionSelector::VisitFloat64RoundUp(Node* node) { | 1139 void InstructionSelector::VisitFloat64RoundUp(Node* node) { |
1137 VisitRR(this, kPPC_CeilDouble, node); | 1140 VisitRR(this, kPPC_CeilDouble, node); |
1138 } | 1141 } |
1139 | 1142 |
1140 | 1143 |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 MachineOperatorBuilder::kFloat64RoundTruncate | | 1665 MachineOperatorBuilder::kFloat64RoundTruncate | |
1663 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1666 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1664 MachineOperatorBuilder::kWord32Popcnt | | 1667 MachineOperatorBuilder::kWord32Popcnt | |
1665 MachineOperatorBuilder::kWord64Popcnt; | 1668 MachineOperatorBuilder::kWord64Popcnt; |
1666 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1669 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
1667 } | 1670 } |
1668 | 1671 |
1669 } // namespace compiler | 1672 } // namespace compiler |
1670 } // namespace internal | 1673 } // namespace internal |
1671 } // namespace v8 | 1674 } // namespace v8 |
OLD | NEW |