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/base/bits.h" | 6 #include "src/base/bits.h" |
7 #include "src/compiler/instruction-selector-impl.h" | 7 #include "src/compiler/instruction-selector-impl.h" |
8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
10 | 10 |
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 MachineOperatorBuilder::kFloat64Min | | 1535 MachineOperatorBuilder::kFloat64Min | |
1536 MachineOperatorBuilder::kFloat64Max | | 1536 MachineOperatorBuilder::kFloat64Max | |
1537 MachineOperatorBuilder::kFloat32Min | | 1537 MachineOperatorBuilder::kFloat32Min | |
1538 MachineOperatorBuilder::kFloat32Max | | 1538 MachineOperatorBuilder::kFloat32Max | |
1539 MachineOperatorBuilder::kFloat32RoundDown | | 1539 MachineOperatorBuilder::kFloat32RoundDown | |
1540 MachineOperatorBuilder::kFloat32RoundUp | | 1540 MachineOperatorBuilder::kFloat32RoundUp | |
1541 MachineOperatorBuilder::kFloat32RoundTruncate | | 1541 MachineOperatorBuilder::kFloat32RoundTruncate | |
1542 MachineOperatorBuilder::kFloat32RoundTiesEven; | 1542 MachineOperatorBuilder::kFloat32RoundTiesEven; |
1543 } | 1543 } |
1544 | 1544 |
| 1545 // static |
| 1546 MachineOperatorBuilder::AlignmentRequirements |
| 1547 InstructionSelector::AlignmentConfiguration() { |
| 1548 if (IsMipsArchVariant(kMips32r6)) { |
| 1549 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1550 FullUnalignedAccessSupport(); |
| 1551 } else { |
| 1552 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
| 1553 IsMipsArchVariant(kMips32r2)); |
| 1554 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1555 NoUnalignedAccessSupport(); |
| 1556 } |
| 1557 } |
| 1558 |
1545 } // namespace compiler | 1559 } // namespace compiler |
1546 } // namespace internal | 1560 } // namespace internal |
1547 } // namespace v8 | 1561 } // namespace v8 |
OLD | NEW |