| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 934 | 934 | 
| 935 void InstructionSelector::VisitTryTruncateFloat64ToInt64(Node* node) { | 935 void InstructionSelector::VisitTryTruncateFloat64ToInt64(Node* node) { | 
| 936   if (NodeProperties::FindProjection(node, 1)) { | 936   if (NodeProperties::FindProjection(node, 1)) { | 
| 937     // TODO(ppc): implement the second return value. | 937     // TODO(ppc): implement the second return value. | 
| 938     UNIMPLEMENTED(); | 938     UNIMPLEMENTED(); | 
| 939   } | 939   } | 
| 940   VisitRR(this, kPPC_DoubleToInt64, node); | 940   VisitRR(this, kPPC_DoubleToInt64, node); | 
| 941 } | 941 } | 
| 942 | 942 | 
| 943 | 943 | 
| 944 void InstructionSelector::VisitTruncateFloat32ToUint64(Node* node) { | 944 void InstructionSelector::VisitTryTruncateFloat32ToUint64(Node* node) { | 
|  | 945   if (NodeProperties::FindProjection(node, 1)) { | 
|  | 946     // TODO(ppc): implement the second return value. | 
|  | 947     UNIMPLEMENTED(); | 
|  | 948   } | 
| 945   VisitRR(this, kPPC_DoubleToUint64, node); | 949   VisitRR(this, kPPC_DoubleToUint64, node); | 
| 946 } | 950 } | 
| 947 | 951 | 
| 948 | 952 | 
| 949 void InstructionSelector::VisitTryTruncateFloat64ToUint64(Node* node) { | 953 void InstructionSelector::VisitTryTruncateFloat64ToUint64(Node* node) { | 
| 950   if (NodeProperties::FindProjection(node, 1)) { | 954   if (NodeProperties::FindProjection(node, 1)) { | 
| 951     // TODO(ppc): implement the second return value. | 955     // TODO(ppc): implement the second return value. | 
| 952     UNIMPLEMENTED(); | 956     UNIMPLEMENTED(); | 
| 953   } | 957   } | 
| 954   VisitRR(this, kPPC_DoubleToUint64, node); | 958   VisitRR(this, kPPC_DoubleToUint64, node); | 
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1703          MachineOperatorBuilder::kFloat64RoundTruncate | | 1707          MachineOperatorBuilder::kFloat64RoundTruncate | | 
| 1704          MachineOperatorBuilder::kFloat64RoundTiesAway | | 1708          MachineOperatorBuilder::kFloat64RoundTiesAway | | 
| 1705          MachineOperatorBuilder::kWord32Popcnt | | 1709          MachineOperatorBuilder::kWord32Popcnt | | 
| 1706          MachineOperatorBuilder::kWord64Popcnt; | 1710          MachineOperatorBuilder::kWord64Popcnt; | 
| 1707   // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1711   // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 
| 1708 } | 1712 } | 
| 1709 | 1713 | 
| 1710 }  // namespace compiler | 1714 }  // namespace compiler | 
| 1711 }  // namespace internal | 1715 }  // namespace internal | 
| 1712 }  // namespace v8 | 1716 }  // namespace v8 | 
| OLD | NEW | 
|---|