| 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-impl.h" | 5 #include "src/compiler/instruction-selector-impl.h" |
| 6 #include "src/compiler/node-matchers.h" | 6 #include "src/compiler/node-matchers.h" |
| 7 #include "src/compiler/node-properties.h" | 7 #include "src/compiler/node-properties.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1839 } | 1839 } |
| 1840 | 1840 |
| 1841 | 1841 |
| 1842 void InstructionSelector::VisitFloat64Mod(Node* node) { | 1842 void InstructionSelector::VisitFloat64Mod(Node* node) { |
| 1843 Arm64OperandGenerator g(this); | 1843 Arm64OperandGenerator g(this); |
| 1844 Emit(kArm64Float64Mod, g.DefineAsFixed(node, d0), | 1844 Emit(kArm64Float64Mod, g.DefineAsFixed(node, d0), |
| 1845 g.UseFixed(node->InputAt(0), d0), | 1845 g.UseFixed(node->InputAt(0), d0), |
| 1846 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); | 1846 g.UseFixed(node->InputAt(1), d1))->MarkAsCall(); |
| 1847 } | 1847 } |
| 1848 | 1848 |
| 1849 void InstructionSelector::VisitFloat32Max(Node* node) { |
| 1850 VisitRRR(this, kArm64Float32Max, node); |
| 1851 } |
| 1849 | 1852 |
| 1850 void InstructionSelector::VisitFloat64Max(Node* node) { | 1853 void InstructionSelector::VisitFloat64Max(Node* node) { |
| 1851 VisitRRR(this, kArm64Float64Max, node); | 1854 VisitRRR(this, kArm64Float64Max, node); |
| 1852 } | 1855 } |
| 1853 | 1856 |
| 1857 void InstructionSelector::VisitFloat32Min(Node* node) { |
| 1858 VisitRRR(this, kArm64Float32Min, node); |
| 1859 } |
| 1854 | 1860 |
| 1855 void InstructionSelector::VisitFloat64Min(Node* node) { | 1861 void InstructionSelector::VisitFloat64Min(Node* node) { |
| 1856 VisitRRR(this, kArm64Float64Min, node); | 1862 VisitRRR(this, kArm64Float64Min, node); |
| 1857 } | 1863 } |
| 1858 | 1864 |
| 1859 | 1865 |
| 1860 void InstructionSelector::VisitFloat32Abs(Node* node) { | 1866 void InstructionSelector::VisitFloat32Abs(Node* node) { |
| 1861 VisitRR(this, kArm64Float32Abs, node); | 1867 VisitRR(this, kArm64Float32Abs, node); |
| 1862 } | 1868 } |
| 1863 | 1869 |
| (...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2797 // static | 2803 // static |
| 2798 MachineOperatorBuilder::AlignmentRequirements | 2804 MachineOperatorBuilder::AlignmentRequirements |
| 2799 InstructionSelector::AlignmentRequirements() { | 2805 InstructionSelector::AlignmentRequirements() { |
| 2800 return MachineOperatorBuilder::AlignmentRequirements:: | 2806 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2801 FullUnalignedAccessSupport(); | 2807 FullUnalignedAccessSupport(); |
| 2802 } | 2808 } |
| 2803 | 2809 |
| 2804 } // namespace compiler | 2810 } // namespace compiler |
| 2805 } // namespace internal | 2811 } // namespace internal |
| 2806 } // namespace v8 | 2812 } // namespace v8 |
| OLD | NEW |