Chromium Code Reviews| 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/bits.h" | 5 #include "src/base/bits.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 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 819 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); | 819 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); |
| 820 } | 820 } |
| 821 | 821 |
| 822 | 822 |
| 823 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 823 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
| 824 ArmOperandGenerator g(this); | 824 ArmOperandGenerator g(this); |
| 825 Emit(kArmVsqrtF64, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); | 825 Emit(kArmVsqrtF64, g.DefineAsRegister(node), g.UseRegister(node->InputAt(0))); |
| 826 } | 826 } |
| 827 | 827 |
| 828 | 828 |
| 829 void InstructionSelector::VisitFloat64Floor(Node* node) { | |
| 830 UnsupportedOperator(node); | |
|
Benedikt Meurer
2014/10/26 12:48:05
Add TODO for ARMv8.
sigurds
2014/10/28 12:47:22
Done.
| |
| 831 } | |
| 832 | |
| 833 | |
| 834 void InstructionSelector::VisitFloat64Ceil(Node* node) { | |
| 835 UnsupportedOperator(node); | |
|
Benedikt Meurer
2014/10/26 12:48:05
Add TODO for ARMv8.
sigurds
2014/10/28 12:47:22
Done.
| |
| 836 } | |
| 837 | |
| 838 | |
| 839 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { | |
| 840 UnsupportedOperator(node); | |
|
Benedikt Meurer
2014/10/26 12:48:05
Add TODO for ARMv8.
sigurds
2014/10/28 12:47:22
Done.
| |
| 841 } | |
| 842 | |
| 843 | |
| 844 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { | |
| 845 UnsupportedOperator(node); | |
|
Benedikt Meurer
2014/10/26 12:48:05
Add TODO for ARMv8.
sigurds
2014/10/28 12:47:22
Done.
| |
| 846 } | |
| 847 | |
| 848 | |
| 829 void InstructionSelector::VisitCall(Node* node) { | 849 void InstructionSelector::VisitCall(Node* node) { |
| 830 ArmOperandGenerator g(this); | 850 ArmOperandGenerator g(this); |
| 831 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); | 851 CallDescriptor* descriptor = OpParameter<CallDescriptor*>(node); |
| 832 | 852 |
| 833 FrameStateDescriptor* frame_state_descriptor = NULL; | 853 FrameStateDescriptor* frame_state_descriptor = NULL; |
| 834 if (descriptor->NeedsFrameState()) { | 854 if (descriptor->NeedsFrameState()) { |
| 835 frame_state_descriptor = | 855 frame_state_descriptor = |
| 836 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); | 856 GetFrameStateDescriptor(node->InputAt(descriptor->InputCount())); |
| 837 } | 857 } |
| 838 | 858 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1137 | 1157 |
| 1138 | 1158 |
| 1139 // static | 1159 // static |
| 1140 MachineOperatorBuilder::Flags | 1160 MachineOperatorBuilder::Flags |
| 1141 InstructionSelector::SupportedMachineOperatorFlags() { | 1161 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1142 return MachineOperatorBuilder::Flag::kNoFlags; | 1162 return MachineOperatorBuilder::Flag::kNoFlags; |
| 1143 } | 1163 } |
| 1144 } // namespace compiler | 1164 } // namespace compiler |
| 1145 } // namespace internal | 1165 } // namespace internal |
| 1146 } // namespace v8 | 1166 } // namespace v8 |
| OLD | NEW |