| 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 | 818 |
| 819 | 819 |
| 820 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } | 820 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } |
| 821 | 821 |
| 822 | 822 |
| 823 #if V8_TARGET_ARCH_PPC64 | 823 #if V8_TARGET_ARCH_PPC64 |
| 824 void InstructionSelector::VisitWord64Ctz(Node* node) { UNREACHABLE(); } | 824 void InstructionSelector::VisitWord64Ctz(Node* node) { UNREACHABLE(); } |
| 825 #endif | 825 #endif |
| 826 | 826 |
| 827 | 827 |
| 828 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
| 829 |
| 830 |
| 831 #if V8_TARGET_ARCH_PPC64 |
| 832 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } |
| 833 #endif |
| 834 |
| 835 |
| 828 void InstructionSelector::VisitInt32Add(Node* node) { | 836 void InstructionSelector::VisitInt32Add(Node* node) { |
| 829 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); | 837 VisitBinop<Int32BinopMatcher>(this, node, kPPC_Add, kInt16Imm); |
| 830 } | 838 } |
| 831 | 839 |
| 832 | 840 |
| 833 #if V8_TARGET_ARCH_PPC64 | 841 #if V8_TARGET_ARCH_PPC64 |
| 834 void InstructionSelector::VisitInt64Add(Node* node) { | 842 void InstructionSelector::VisitInt64Add(Node* node) { |
| 835 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); | 843 VisitBinop<Int64BinopMatcher>(this, node, kPPC_Add, kInt16Imm); |
| 836 } | 844 } |
| 837 #endif | 845 #endif |
| (...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1783 MachineOperatorBuilder::kFloat64RoundTruncate | | 1791 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1784 MachineOperatorBuilder::kFloat64RoundTiesAway | | 1792 MachineOperatorBuilder::kFloat64RoundTiesAway | |
| 1785 MachineOperatorBuilder::kWord32Popcnt | | 1793 MachineOperatorBuilder::kWord32Popcnt | |
| 1786 MachineOperatorBuilder::kWord64Popcnt; | 1794 MachineOperatorBuilder::kWord64Popcnt; |
| 1787 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. | 1795 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. |
| 1788 } | 1796 } |
| 1789 | 1797 |
| 1790 } // namespace compiler | 1798 } // namespace compiler |
| 1791 } // namespace internal | 1799 } // namespace internal |
| 1792 } // namespace v8 | 1800 } // namespace v8 |
| OLD | NEW |