| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/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 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
| 9 #include "src/s390/frames-s390.h" | 9 #include "src/s390/frames-s390.h" |
| 10 | 10 |
| (...skipping 1173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } | 1184 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } |
| 1185 | 1185 |
| 1186 void InstructionSelector::VisitFloat32Abs(Node* node) { | 1186 void InstructionSelector::VisitFloat32Abs(Node* node) { |
| 1187 VisitRR(this, kS390_AbsFloat, node); | 1187 VisitRR(this, kS390_AbsFloat, node); |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1190 void InstructionSelector::VisitFloat64Abs(Node* node) { |
| 1191 VisitRR(this, kS390_AbsDouble, node); | 1191 VisitRR(this, kS390_AbsDouble, node); |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 void InstructionSelector::VisitFloat64Log(Node* node) { |
| 1195 S390OperandGenerator g(this); |
| 1196 Emit(kS390_LogDouble, g.DefineAsFixed(node, d1), |
| 1197 g.UseFixed(node->InputAt(0), d1)) |
| 1198 ->MarkAsCall(); |
| 1199 } |
| 1200 |
| 1194 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1201 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
| 1195 VisitRR(this, kS390_SqrtFloat, node); | 1202 VisitRR(this, kS390_SqrtFloat, node); |
| 1196 } | 1203 } |
| 1197 | 1204 |
| 1198 void InstructionSelector::VisitFloat64Sqrt(Node* node) { | 1205 void InstructionSelector::VisitFloat64Sqrt(Node* node) { |
| 1199 VisitRR(this, kS390_SqrtDouble, node); | 1206 VisitRR(this, kS390_SqrtDouble, node); |
| 1200 } | 1207 } |
| 1201 | 1208 |
| 1202 void InstructionSelector::VisitFloat32RoundDown(Node* node) { | 1209 void InstructionSelector::VisitFloat32RoundDown(Node* node) { |
| 1203 VisitRR(this, kS390_FloorFloat, node); | 1210 VisitRR(this, kS390_FloorFloat, node); |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1829 // static | 1836 // static |
| 1830 MachineOperatorBuilder::AlignmentRequirements | 1837 MachineOperatorBuilder::AlignmentRequirements |
| 1831 InstructionSelector::AlignmentRequirements() { | 1838 InstructionSelector::AlignmentRequirements() { |
| 1832 return MachineOperatorBuilder::AlignmentRequirements:: | 1839 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1833 FullUnalignedAccessSupport(); | 1840 FullUnalignedAccessSupport(); |
| 1834 } | 1841 } |
| 1835 | 1842 |
| 1836 } // namespace compiler | 1843 } // namespace compiler |
| 1837 } // namespace internal | 1844 } // namespace internal |
| 1838 } // namespace v8 | 1845 } // namespace v8 |
| OLD | NEW |