| 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 VisitRRR(this, kS390_DivDouble, node); | 1205 VisitRRR(this, kS390_DivDouble, node); |
| 1206 } | 1206 } |
| 1207 | 1207 |
| 1208 void InstructionSelector::VisitFloat64Mod(Node* node) { | 1208 void InstructionSelector::VisitFloat64Mod(Node* node) { |
| 1209 S390OperandGenerator g(this); | 1209 S390OperandGenerator g(this); |
| 1210 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1), | 1210 Emit(kS390_ModDouble, g.DefineAsFixed(node, d1), |
| 1211 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2)) | 1211 g.UseFixed(node->InputAt(0), d1), g.UseFixed(node->InputAt(1), d2)) |
| 1212 ->MarkAsCall(); | 1212 ->MarkAsCall(); |
| 1213 } | 1213 } |
| 1214 | 1214 |
| 1215 void InstructionSelector::VisitFloat32Max(Node* node) { UNREACHABLE(); } | 1215 void InstructionSelector::VisitFloat64Max(Node* node) { |
| 1216 | 1216 VisitRRR(this, kS390_MaxDouble, node); |
| 1217 void InstructionSelector::VisitFloat64Max(Node* node) { UNREACHABLE(); } | 1217 } |
| 1218 | 1218 |
| 1219 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { | 1219 void InstructionSelector::VisitFloat64SilenceNaN(Node* node) { |
| 1220 VisitRR(this, kS390_Float64SilenceNaN, node); | 1220 VisitRR(this, kS390_Float64SilenceNaN, node); |
| 1221 } | 1221 } |
| 1222 | 1222 |
| 1223 void InstructionSelector::VisitFloat32Min(Node* node) { UNREACHABLE(); } | 1223 void InstructionSelector::VisitFloat64Min(Node* node) { |
| 1224 | 1224 VisitRRR(this, kS390_MinDouble, node); |
| 1225 void InstructionSelector::VisitFloat64Min(Node* node) { UNREACHABLE(); } | 1225 } |
| 1226 | 1226 |
| 1227 void InstructionSelector::VisitFloat32Abs(Node* node) { | 1227 void InstructionSelector::VisitFloat32Abs(Node* node) { |
| 1228 VisitRR(this, kS390_AbsFloat, node); | 1228 VisitRR(this, kS390_AbsFloat, node); |
| 1229 } | 1229 } |
| 1230 | 1230 |
| 1231 void InstructionSelector::VisitFloat64Abs(Node* node) { | 1231 void InstructionSelector::VisitFloat64Abs(Node* node) { |
| 1232 VisitRR(this, kS390_AbsDouble, node); | 1232 VisitRR(this, kS390_AbsDouble, node); |
| 1233 } | 1233 } |
| 1234 | 1234 |
| 1235 void InstructionSelector::VisitFloat32Sqrt(Node* node) { | 1235 void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1897 // static | 1897 // static |
| 1898 MachineOperatorBuilder::AlignmentRequirements | 1898 MachineOperatorBuilder::AlignmentRequirements |
| 1899 InstructionSelector::AlignmentRequirements() { | 1899 InstructionSelector::AlignmentRequirements() { |
| 1900 return MachineOperatorBuilder::AlignmentRequirements:: | 1900 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1901 FullUnalignedAccessSupport(); | 1901 FullUnalignedAccessSupport(); |
| 1902 } | 1902 } |
| 1903 | 1903 |
| 1904 } // namespace compiler | 1904 } // namespace compiler |
| 1905 } // namespace internal | 1905 } // namespace internal |
| 1906 } // namespace v8 | 1906 } // namespace v8 |
| OLD | NEW |