| 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 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 FlagsContinuation cont(kUnorderedLessThanOrEqual, node); | 1248 FlagsContinuation cont(kUnorderedLessThanOrEqual, node); |
| 1249 VisitFloat64Compare(this, node, &cont); | 1249 VisitFloat64Compare(this, node, &cont); |
| 1250 } | 1250 } |
| 1251 | 1251 |
| 1252 | 1252 |
| 1253 // static | 1253 // static |
| 1254 MachineOperatorBuilder::Flags | 1254 MachineOperatorBuilder::Flags |
| 1255 InstructionSelector::SupportedMachineOperatorFlags() { | 1255 InstructionSelector::SupportedMachineOperatorFlags() { |
| 1256 MachineOperatorBuilder::Flags flags = | 1256 MachineOperatorBuilder::Flags flags = |
| 1257 MachineOperatorBuilder::kInt32DivIsSafe | | 1257 MachineOperatorBuilder::kInt32DivIsSafe | |
| 1258 MachineOperatorBuilder::kInt32ModIsSafe | | 1258 MachineOperatorBuilder::kUint32DivIsSafe; |
| 1259 MachineOperatorBuilder::kUint32DivIsSafe | | |
| 1260 MachineOperatorBuilder::kUint32ModIsSafe; | |
| 1261 | 1259 |
| 1262 if (CpuFeatures::IsSupported(ARMv8)) { | 1260 if (CpuFeatures::IsSupported(ARMv8)) { |
| 1263 flags |= MachineOperatorBuilder::kFloat64Floor | | 1261 flags |= MachineOperatorBuilder::kFloat64Floor | |
| 1264 MachineOperatorBuilder::kFloat64Ceil | | 1262 MachineOperatorBuilder::kFloat64Ceil | |
| 1265 MachineOperatorBuilder::kFloat64RoundTruncate | | 1263 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 1266 MachineOperatorBuilder::kFloat64RoundTiesAway; | 1264 MachineOperatorBuilder::kFloat64RoundTiesAway; |
| 1267 } | 1265 } |
| 1268 return flags; | 1266 return flags; |
| 1269 } | 1267 } |
| 1270 | 1268 |
| 1271 } // namespace compiler | 1269 } // namespace compiler |
| 1272 } // namespace internal | 1270 } // namespace internal |
| 1273 } // namespace v8 | 1271 } // namespace v8 |
| OLD | NEW |