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 2624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2635 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value)); | 2635 addr_reg, g.TempImmediate(0), g.UseRegisterOrImmediateZero(value)); |
2636 } | 2636 } |
2637 } | 2637 } |
2638 | 2638 |
2639 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } | 2639 void InstructionSelector::VisitAtomicExchange(Node* node) { UNIMPLEMENTED(); } |
2640 | 2640 |
2641 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { | 2641 void InstructionSelector::VisitAtomicCompareExchange(Node* node) { |
2642 UNIMPLEMENTED(); | 2642 UNIMPLEMENTED(); |
2643 } | 2643 } |
2644 | 2644 |
| 2645 void InstructionSelector::VisitInt32AbsWithOverflow(Node* node) { |
| 2646 UNREACHABLE(); |
| 2647 } |
| 2648 |
| 2649 void InstructionSelector::VisitInt64AbsWithOverflow(Node* node) { |
| 2650 UNREACHABLE(); |
| 2651 } |
| 2652 |
2645 // static | 2653 // static |
2646 MachineOperatorBuilder::Flags | 2654 MachineOperatorBuilder::Flags |
2647 InstructionSelector::SupportedMachineOperatorFlags() { | 2655 InstructionSelector::SupportedMachineOperatorFlags() { |
2648 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags; | 2656 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags; |
2649 return flags | MachineOperatorBuilder::kWord32Ctz | | 2657 return flags | MachineOperatorBuilder::kWord32Ctz | |
2650 MachineOperatorBuilder::kWord64Ctz | | 2658 MachineOperatorBuilder::kWord64Ctz | |
2651 MachineOperatorBuilder::kWord32Popcnt | | 2659 MachineOperatorBuilder::kWord32Popcnt | |
2652 MachineOperatorBuilder::kWord64Popcnt | | 2660 MachineOperatorBuilder::kWord64Popcnt | |
2653 MachineOperatorBuilder::kWord32ShiftIsSafe | | 2661 MachineOperatorBuilder::kWord32ShiftIsSafe | |
2654 MachineOperatorBuilder::kInt32DivIsSafe | | 2662 MachineOperatorBuilder::kInt32DivIsSafe | |
(...skipping 19 matching lines...) Expand all Loading... |
2674 } else { | 2682 } else { |
2675 DCHECK(kArchVariant == kMips64r2); | 2683 DCHECK(kArchVariant == kMips64r2); |
2676 return MachineOperatorBuilder::AlignmentRequirements:: | 2684 return MachineOperatorBuilder::AlignmentRequirements:: |
2677 NoUnalignedAccessSupport(); | 2685 NoUnalignedAccessSupport(); |
2678 } | 2686 } |
2679 } | 2687 } |
2680 | 2688 |
2681 } // namespace compiler | 2689 } // namespace compiler |
2682 } // namespace internal | 2690 } // namespace internal |
2683 } // namespace v8 | 2691 } // namespace v8 |
OLD | NEW |