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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 MachineOperatorBuilder::kFloat64Min | | 1541 MachineOperatorBuilder::kFloat64Min | |
1542 MachineOperatorBuilder::kFloat64Max | | 1542 MachineOperatorBuilder::kFloat64Max | |
1543 MachineOperatorBuilder::kFloat32Min | | 1543 MachineOperatorBuilder::kFloat32Min | |
1544 MachineOperatorBuilder::kFloat32Max | | 1544 MachineOperatorBuilder::kFloat32Max | |
1545 MachineOperatorBuilder::kFloat32RoundDown | | 1545 MachineOperatorBuilder::kFloat32RoundDown | |
1546 MachineOperatorBuilder::kFloat32RoundUp | | 1546 MachineOperatorBuilder::kFloat32RoundUp | |
1547 MachineOperatorBuilder::kFloat32RoundTruncate | | 1547 MachineOperatorBuilder::kFloat32RoundTruncate | |
1548 MachineOperatorBuilder::kFloat32RoundTiesEven; | 1548 MachineOperatorBuilder::kFloat32RoundTiesEven; |
1549 } | 1549 } |
1550 | 1550 |
| 1551 // static |
| 1552 MachineOperatorBuilder::AlignmentRequirements |
| 1553 InstructionSelector::AlignmentRequirements() { |
| 1554 if (IsMipsArchVariant(kMips32r6)) { |
| 1555 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1556 FullUnalignedAccessSupport(); |
| 1557 } else { |
| 1558 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
| 1559 IsMipsArchVariant(kMips32r2)); |
| 1560 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1561 NoUnalignedAccessSupport(); |
| 1562 } |
| 1563 } |
| 1564 |
1551 } // namespace compiler | 1565 } // namespace compiler |
1552 } // namespace internal | 1566 } // namespace internal |
1553 } // namespace v8 | 1567 } // namespace v8 |
OLD | NEW |