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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
954 | 954 |
955 | 955 |
956 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } | 956 void InstructionSelector::VisitWord32Ctz(Node* node) { UNREACHABLE(); } |
957 | 957 |
958 | 958 |
959 void InstructionSelector::VisitWord32ReverseBits(Node* node) { | 959 void InstructionSelector::VisitWord32ReverseBits(Node* node) { |
960 DCHECK(IsSupported(ARMv7)); | 960 DCHECK(IsSupported(ARMv7)); |
961 VisitRR(this, kArmRbit, node); | 961 VisitRR(this, kArmRbit, node); |
962 } | 962 } |
963 | 963 |
| 964 void InstructionSelector::VisitWord64ReverseBytes(Node* node) { UNREACHABLE(); } |
| 965 |
| 966 void InstructionSelector::VisitWord32ReverseBytes(Node* node) { UNREACHABLE(); } |
| 967 |
| 968 void InstructionSelector::VisitWord16ReverseBytes(Node* node) { UNREACHABLE(); } |
964 | 969 |
965 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } | 970 void InstructionSelector::VisitWord32Popcnt(Node* node) { UNREACHABLE(); } |
966 | 971 |
967 | 972 |
968 void InstructionSelector::VisitInt32Add(Node* node) { | 973 void InstructionSelector::VisitInt32Add(Node* node) { |
969 ArmOperandGenerator g(this); | 974 ArmOperandGenerator g(this); |
970 Int32BinopMatcher m(node); | 975 Int32BinopMatcher m(node); |
971 if (CanCover(node, m.left().node())) { | 976 if (CanCover(node, m.left().node())) { |
972 switch (m.left().opcode()) { | 977 switch (m.left().opcode()) { |
973 case IrOpcode::kInt32Mul: { | 978 case IrOpcode::kInt32Mul: { |
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1997 // static | 2002 // static |
1998 MachineOperatorBuilder::AlignmentRequirements | 2003 MachineOperatorBuilder::AlignmentRequirements |
1999 InstructionSelector::AlignmentRequirements() { | 2004 InstructionSelector::AlignmentRequirements() { |
2000 return MachineOperatorBuilder::AlignmentRequirements:: | 2005 return MachineOperatorBuilder::AlignmentRequirements:: |
2001 FullUnalignedAccessSupport(); | 2006 FullUnalignedAccessSupport(); |
2002 } | 2007 } |
2003 | 2008 |
2004 } // namespace compiler | 2009 } // namespace compiler |
2005 } // namespace internal | 2010 } // namespace internal |
2006 } // namespace v8 | 2011 } // namespace v8 |
OLD | NEW |