| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 opcode = kMips64Ldc1; | 151 opcode = kMips64Ldc1; |
| 152 break; | 152 break; |
| 153 case MachineRepresentation::kBit: // Fall through. | 153 case MachineRepresentation::kBit: // Fall through. |
| 154 case MachineRepresentation::kWord8: | 154 case MachineRepresentation::kWord8: |
| 155 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; | 155 opcode = load_rep.IsUnsigned() ? kMips64Lbu : kMips64Lb; |
| 156 break; | 156 break; |
| 157 case MachineRepresentation::kWord16: | 157 case MachineRepresentation::kWord16: |
| 158 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; | 158 opcode = load_rep.IsUnsigned() ? kMips64Lhu : kMips64Lh; |
| 159 break; | 159 break; |
| 160 case MachineRepresentation::kWord32: | 160 case MachineRepresentation::kWord32: |
| 161 opcode = kMips64Lw; | 161 opcode = load_rep.IsUnsigned() ? kMips64Lwu : kMips64Lw; |
| 162 break; | 162 break; |
| 163 case MachineRepresentation::kTagged: // Fall through. | 163 case MachineRepresentation::kTagged: // Fall through. |
| 164 case MachineRepresentation::kWord64: | 164 case MachineRepresentation::kWord64: |
| 165 opcode = kMips64Ld; | 165 opcode = kMips64Ld; |
| 166 break; | 166 break; |
| 167 case MachineRepresentation::kSimd128: // Fall through. | 167 case MachineRepresentation::kSimd128: // Fall through. |
| 168 case MachineRepresentation::kNone: | 168 case MachineRepresentation::kNone: |
| 169 UNREACHABLE(); | 169 UNREACHABLE(); |
| 170 return; | 170 return; |
| 171 } | 171 } |
| (...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2049 MachineOperatorBuilder::kFloat32RoundUp | | 2049 MachineOperatorBuilder::kFloat32RoundUp | |
| 2050 MachineOperatorBuilder::kFloat64RoundTruncate | | 2050 MachineOperatorBuilder::kFloat64RoundTruncate | |
| 2051 MachineOperatorBuilder::kFloat32RoundTruncate | | 2051 MachineOperatorBuilder::kFloat32RoundTruncate | |
| 2052 MachineOperatorBuilder::kFloat64RoundTiesEven | | 2052 MachineOperatorBuilder::kFloat64RoundTiesEven | |
| 2053 MachineOperatorBuilder::kFloat32RoundTiesEven; | 2053 MachineOperatorBuilder::kFloat32RoundTiesEven; |
| 2054 } | 2054 } |
| 2055 | 2055 |
| 2056 } // namespace compiler | 2056 } // namespace compiler |
| 2057 } // namespace internal | 2057 } // namespace internal |
| 2058 } // namespace v8 | 2058 } // namespace v8 |
| OLD | NEW |