| 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 1757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 } | 1768 } |
| 1769 } | 1769 } |
| 1770 ++slot; | 1770 ++slot; |
| 1771 } | 1771 } |
| 1772 } | 1772 } |
| 1773 } | 1773 } |
| 1774 | 1774 |
| 1775 | 1775 |
| 1776 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } | 1776 bool InstructionSelector::IsTailCallAddressImmediate() { return false; } |
| 1777 | 1777 |
| 1778 int InstructionSelector::GetTempsCountForTailCallFromJSFunction() { return 3; } |
| 1778 | 1779 |
| 1779 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) { | 1780 void InstructionSelector::VisitFloat64ExtractLowWord32(Node* node) { |
| 1780 PPCOperandGenerator g(this); | 1781 PPCOperandGenerator g(this); |
| 1781 Emit(kPPC_DoubleExtractLowWord32, g.DefineAsRegister(node), | 1782 Emit(kPPC_DoubleExtractLowWord32, g.DefineAsRegister(node), |
| 1782 g.UseRegister(node->InputAt(0))); | 1783 g.UseRegister(node->InputAt(0))); |
| 1783 } | 1784 } |
| 1784 | 1785 |
| 1785 | 1786 |
| 1786 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) { | 1787 void InstructionSelector::VisitFloat64ExtractHighWord32(Node* node) { |
| 1787 PPCOperandGenerator g(this); | 1788 PPCOperandGenerator g(this); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1833 MachineOperatorBuilder::kFloat64RoundTruncate | | 1834 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1834 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1835 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1835 MachineOperatorBuilder::kWord32Popcnt | | 1836 MachineOperatorBuilder::kWord32Popcnt | |
| 1836 MachineOperatorBuilder::kWord64Popcnt; | 1837 MachineOperatorBuilder::kWord64Popcnt; |
| 1837 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1838 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 1838 } | 1839 } |
| 1839 | 1840 |
| 1840 } // namespace compiler | 1841 } // namespace compiler |
| 1841 } // namespace internal | 1842 } // namespace internal |
| 1842 } // namespace v8 | 1843 } // namespace v8 |
| OLD | NEW |