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