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/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/compiler/instruction-selector-impl.h" | 9 #include "src/compiler/instruction-selector-impl.h" |
10 #include "src/compiler/node-matchers.h" | 10 #include "src/compiler/node-matchers.h" |
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 case IrOpcode::kFloat32Sub: | 757 case IrOpcode::kFloat32Sub: |
758 return MarkAsDouble(node), VisitFloat32Sub(node); | 758 return MarkAsDouble(node), VisitFloat32Sub(node); |
759 case IrOpcode::kFloat32Mul: | 759 case IrOpcode::kFloat32Mul: |
760 return MarkAsDouble(node), VisitFloat32Mul(node); | 760 return MarkAsDouble(node), VisitFloat32Mul(node); |
761 case IrOpcode::kFloat32Div: | 761 case IrOpcode::kFloat32Div: |
762 return MarkAsDouble(node), VisitFloat32Div(node); | 762 return MarkAsDouble(node), VisitFloat32Div(node); |
763 case IrOpcode::kFloat32Min: | 763 case IrOpcode::kFloat32Min: |
764 return MarkAsDouble(node), VisitFloat32Min(node); | 764 return MarkAsDouble(node), VisitFloat32Min(node); |
765 case IrOpcode::kFloat32Max: | 765 case IrOpcode::kFloat32Max: |
766 return MarkAsDouble(node), VisitFloat32Max(node); | 766 return MarkAsDouble(node), VisitFloat32Max(node); |
| 767 case IrOpcode::kFloat32Abs: |
| 768 return MarkAsDouble(node), VisitFloat32Abs(node); |
767 case IrOpcode::kFloat32Sqrt: | 769 case IrOpcode::kFloat32Sqrt: |
768 return MarkAsDouble(node), VisitFloat32Sqrt(node); | 770 return MarkAsDouble(node), VisitFloat32Sqrt(node); |
769 case IrOpcode::kFloat32Equal: | 771 case IrOpcode::kFloat32Equal: |
770 return VisitFloat32Equal(node); | 772 return VisitFloat32Equal(node); |
771 case IrOpcode::kFloat32LessThan: | 773 case IrOpcode::kFloat32LessThan: |
772 return VisitFloat32LessThan(node); | 774 return VisitFloat32LessThan(node); |
773 case IrOpcode::kFloat32LessThanOrEqual: | 775 case IrOpcode::kFloat32LessThanOrEqual: |
774 return VisitFloat32LessThanOrEqual(node); | 776 return VisitFloat32LessThanOrEqual(node); |
775 case IrOpcode::kFloat64Add: | 777 case IrOpcode::kFloat64Add: |
776 return MarkAsDouble(node), VisitFloat64Add(node); | 778 return MarkAsDouble(node), VisitFloat64Add(node); |
777 case IrOpcode::kFloat64Sub: | 779 case IrOpcode::kFloat64Sub: |
778 return MarkAsDouble(node), VisitFloat64Sub(node); | 780 return MarkAsDouble(node), VisitFloat64Sub(node); |
779 case IrOpcode::kFloat64Mul: | 781 case IrOpcode::kFloat64Mul: |
780 return MarkAsDouble(node), VisitFloat64Mul(node); | 782 return MarkAsDouble(node), VisitFloat64Mul(node); |
781 case IrOpcode::kFloat64Div: | 783 case IrOpcode::kFloat64Div: |
782 return MarkAsDouble(node), VisitFloat64Div(node); | 784 return MarkAsDouble(node), VisitFloat64Div(node); |
783 case IrOpcode::kFloat64Mod: | 785 case IrOpcode::kFloat64Mod: |
784 return MarkAsDouble(node), VisitFloat64Mod(node); | 786 return MarkAsDouble(node), VisitFloat64Mod(node); |
785 case IrOpcode::kFloat64Min: | 787 case IrOpcode::kFloat64Min: |
786 return MarkAsDouble(node), VisitFloat64Min(node); | 788 return MarkAsDouble(node), VisitFloat64Min(node); |
787 case IrOpcode::kFloat64Max: | 789 case IrOpcode::kFloat64Max: |
788 return MarkAsDouble(node), VisitFloat64Max(node); | 790 return MarkAsDouble(node), VisitFloat64Max(node); |
| 791 case IrOpcode::kFloat64Abs: |
| 792 return MarkAsDouble(node), VisitFloat64Abs(node); |
789 case IrOpcode::kFloat64Sqrt: | 793 case IrOpcode::kFloat64Sqrt: |
790 return MarkAsDouble(node), VisitFloat64Sqrt(node); | 794 return MarkAsDouble(node), VisitFloat64Sqrt(node); |
791 case IrOpcode::kFloat64Equal: | 795 case IrOpcode::kFloat64Equal: |
792 return VisitFloat64Equal(node); | 796 return VisitFloat64Equal(node); |
793 case IrOpcode::kFloat64LessThan: | 797 case IrOpcode::kFloat64LessThan: |
794 return VisitFloat64LessThan(node); | 798 return VisitFloat64LessThan(node); |
795 case IrOpcode::kFloat64LessThanOrEqual: | 799 case IrOpcode::kFloat64LessThanOrEqual: |
796 return VisitFloat64LessThanOrEqual(node); | 800 return VisitFloat64LessThanOrEqual(node); |
797 case IrOpcode::kFloat64RoundDown: | 801 case IrOpcode::kFloat64RoundDown: |
798 return MarkAsDouble(node), VisitFloat64RoundDown(node); | 802 return MarkAsDouble(node), VisitFloat64RoundDown(node); |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1194 MachineOperatorBuilder::Flags | 1198 MachineOperatorBuilder::Flags |
1195 InstructionSelector::SupportedMachineOperatorFlags() { | 1199 InstructionSelector::SupportedMachineOperatorFlags() { |
1196 return MachineOperatorBuilder::Flag::kNoFlags; | 1200 return MachineOperatorBuilder::Flag::kNoFlags; |
1197 } | 1201 } |
1198 | 1202 |
1199 #endif // !V8_TURBOFAN_BACKEND | 1203 #endif // !V8_TURBOFAN_BACKEND |
1200 | 1204 |
1201 } // namespace compiler | 1205 } // namespace compiler |
1202 } // namespace internal | 1206 } // namespace internal |
1203 } // namespace v8 | 1207 } // namespace v8 |
OLD | NEW |