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 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1152 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | 1152 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { |
1153 VisitRR(this, kPPC_TruncateDouble, node); | 1153 VisitRR(this, kPPC_TruncateDouble, node); |
1154 } | 1154 } |
1155 | 1155 |
1156 | 1156 |
1157 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | 1157 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { |
1158 VisitRR(this, kPPC_RoundDouble, node); | 1158 VisitRR(this, kPPC_RoundDouble, node); |
1159 } | 1159 } |
1160 | 1160 |
1161 | 1161 |
| 1162 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 1163 UNREACHABLE(); |
| 1164 } |
| 1165 |
| 1166 |
1162 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 1167 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
1163 UNREACHABLE(); | 1168 UNREACHABLE(); |
1164 } | 1169 } |
1165 | 1170 |
1166 | 1171 |
1167 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { | 1172 void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { |
1168 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { | 1173 if (Node* ovf = NodeProperties::FindProjection(node, 1)) { |
1169 FlagsContinuation cont(kOverflow, ovf); | 1174 FlagsContinuation cont(kOverflow, ovf); |
1170 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, | 1175 return VisitBinop<Int32BinopMatcher>(this, node, kPPC_AddWithOverflow32, |
1171 kInt16Imm, &cont); | 1176 kInt16Imm, &cont); |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 MachineOperatorBuilder::kFloat64RoundTruncate | | 1678 MachineOperatorBuilder::kFloat64RoundTruncate | |
1674 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1679 MachineOperatorBuilder::kFloat64RoundTiesAway | |
1675 MachineOperatorBuilder::kWord32Popcnt | | 1680 MachineOperatorBuilder::kWord32Popcnt | |
1676 MachineOperatorBuilder::kWord64Popcnt; | 1681 MachineOperatorBuilder::kWord64Popcnt; |
1677 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1682 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
1678 } | 1683 } |
1679 | 1684 |
1680 } // namespace compiler | 1685 } // namespace compiler |
1681 } // namespace internal | 1686 } // namespace internal |
1682 } // namespace v8 | 1687 } // namespace v8 |
OLD | NEW |