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/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 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 InstructionSelector::SupportedMachineOperatorFlags() { | 1293 InstructionSelector::SupportedMachineOperatorFlags() { |
1294 MachineOperatorBuilder::Flags flags = | 1294 MachineOperatorBuilder::Flags flags = |
1295 MachineOperatorBuilder::kFloat32Max | | 1295 MachineOperatorBuilder::kFloat32Max | |
1296 MachineOperatorBuilder::kFloat32Min | | 1296 MachineOperatorBuilder::kFloat32Min | |
1297 MachineOperatorBuilder::kFloat64Max | | 1297 MachineOperatorBuilder::kFloat64Max | |
1298 MachineOperatorBuilder::kFloat64Min | | 1298 MachineOperatorBuilder::kFloat64Min | |
1299 MachineOperatorBuilder::kWord32ShiftIsSafe; | 1299 MachineOperatorBuilder::kWord32ShiftIsSafe; |
1300 if (CpuFeatures::IsSupported(POPCNT)) { | 1300 if (CpuFeatures::IsSupported(POPCNT)) { |
1301 flags |= MachineOperatorBuilder::kWord32Popcnt; | 1301 flags |= MachineOperatorBuilder::kWord32Popcnt; |
1302 } | 1302 } |
| 1303 |
| 1304 flags |= MachineOperatorBuilder::kFloat64RoundDown | |
| 1305 MachineOperatorBuilder::kFloat64RoundTruncate; |
1303 return flags; | 1306 return flags; |
1304 } | 1307 } |
1305 | 1308 |
1306 } // namespace compiler | 1309 } // namespace compiler |
1307 } // namespace internal | 1310 } // namespace internal |
1308 } // namespace v8 | 1311 } // namespace v8 |
OLD | NEW |