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 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2050 MachineOperatorBuilder::kFloat64RoundDown | | 2050 MachineOperatorBuilder::kFloat64RoundDown | |
2051 MachineOperatorBuilder::kFloat32RoundDown | | 2051 MachineOperatorBuilder::kFloat32RoundDown | |
2052 MachineOperatorBuilder::kFloat64RoundUp | | 2052 MachineOperatorBuilder::kFloat64RoundUp | |
2053 MachineOperatorBuilder::kFloat32RoundUp | | 2053 MachineOperatorBuilder::kFloat32RoundUp | |
2054 MachineOperatorBuilder::kFloat64RoundTruncate | | 2054 MachineOperatorBuilder::kFloat64RoundTruncate | |
2055 MachineOperatorBuilder::kFloat32RoundTruncate | | 2055 MachineOperatorBuilder::kFloat32RoundTruncate | |
2056 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2056 MachineOperatorBuilder::kFloat64RoundTiesEven | |
2057 MachineOperatorBuilder::kFloat32RoundTiesEven; | 2057 MachineOperatorBuilder::kFloat32RoundTiesEven; |
2058 } | 2058 } |
2059 | 2059 |
| 2060 // static |
| 2061 MachineOperatorBuilder::AlignmentRequirements |
| 2062 InstructionSelector::AlignmentRequirements() { |
| 2063 if (kArchVariant == kMips64r6) { |
| 2064 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2065 FullUnalignedAccessSupport(); |
| 2066 } else { |
| 2067 DCHECK(kArchVariant == kMips64r2); |
| 2068 return MachineOperatorBuilder::AlignmentRequirements:: |
| 2069 NoUnalignedAccessSupport(); |
| 2070 } |
| 2071 } |
| 2072 |
2060 } // namespace compiler | 2073 } // namespace compiler |
2061 } // namespace internal | 2074 } // namespace internal |
2062 } // namespace v8 | 2075 } // namespace v8 |
OLD | NEW |