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/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 void InstructionSelector::VisitWord32Clz(Node* node) { | 565 void InstructionSelector::VisitWord32Clz(Node* node) { |
566 VisitRR(this, kMips64Clz, node); | 566 VisitRR(this, kMips64Clz, node); |
567 } | 567 } |
568 | 568 |
569 | 569 |
570 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } | 570 void InstructionSelector::VisitWord32ReverseBits(Node* node) { UNREACHABLE(); } |
571 | 571 |
572 | 572 |
573 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } | 573 void InstructionSelector::VisitWord64ReverseBits(Node* node) { UNREACHABLE(); } |
574 | 574 |
| 575 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 576 |
| 577 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
| 578 |
| 579 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); } |
575 | 580 |
576 void InstructionSelector::VisitWord32Ctz(Node* node) { | 581 void InstructionSelector::VisitWord32Ctz(Node* node) { |
577 Mips64OperandGenerator g(this); | 582 Mips64OperandGenerator g(this); |
578 Emit(kMips64Ctz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); | 583 Emit(kMips64Ctz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
579 } | 584 } |
580 | 585 |
581 | 586 |
582 void InstructionSelector::VisitWord64Ctz(Node* node) { | 587 void InstructionSelector::VisitWord64Ctz(Node* node) { |
583 Mips64OperandGenerator g(this); | 588 Mips64OperandGenerator g(this); |
584 Emit(kMips64Dctz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); | 589 Emit(kMips64Dctz, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2075 } else { | 2080 } else { |
2076 DCHECK(kArchVariant == kMips64r2); | 2081 DCHECK(kArchVariant == kMips64r2); |
2077 return MachineOperatorBuilder::AlignmentRequirements:: | 2082 return MachineOperatorBuilder::AlignmentRequirements:: |
2078 NoUnalignedAccessSupport(); | 2083 NoUnalignedAccessSupport(); |
2079 } | 2084 } |
2080 } | 2085 } |
2081 | 2086 |
2082 } // namespace compiler | 2087 } // namespace compiler |
2083 } // namespace internal | 2088 } // namespace internal |
2084 } // namespace v8 | 2089 } // namespace v8 |
OLD | NEW |