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/ast/scopes.h" | 5 #include "src/ast/scopes.h" |
6 #include "src/compiler/code-generator.h" | 6 #include "src/compiler/code-generator.h" |
7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
8 #include "src/compiler/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/compiler/osr.h" | 10 #include "src/compiler/osr.h" |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 __ sdc1(i.InputDoubleRegister(0), MemOperand(sp, i.InputInt32(1))); | 1430 __ sdc1(i.InputDoubleRegister(0), MemOperand(sp, i.InputInt32(1))); |
1431 } else { | 1431 } else { |
1432 DCHECK_EQ(MachineRepresentation::kFloat32, op->representation()); | 1432 DCHECK_EQ(MachineRepresentation::kFloat32, op->representation()); |
1433 __ swc1(i.InputSingleRegister(0), MemOperand(sp, i.InputInt32(1))); | 1433 __ swc1(i.InputSingleRegister(0), MemOperand(sp, i.InputInt32(1))); |
1434 } | 1434 } |
1435 } else { | 1435 } else { |
1436 __ sw(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); | 1436 __ sw(i.InputRegister(0), MemOperand(sp, i.InputInt32(1))); |
1437 } | 1437 } |
1438 break; | 1438 break; |
1439 } | 1439 } |
| 1440 case kMipsByteSwap32: { |
| 1441 __ ByteSwapSigned(i.OutputRegister(0), i.InputRegister(0), 4); |
| 1442 break; |
| 1443 } |
1440 case kCheckedLoadInt8: | 1444 case kCheckedLoadInt8: |
1441 ASSEMBLE_CHECKED_LOAD_INTEGER(lb); | 1445 ASSEMBLE_CHECKED_LOAD_INTEGER(lb); |
1442 break; | 1446 break; |
1443 case kCheckedLoadUint8: | 1447 case kCheckedLoadUint8: |
1444 ASSEMBLE_CHECKED_LOAD_INTEGER(lbu); | 1448 ASSEMBLE_CHECKED_LOAD_INTEGER(lbu); |
1445 break; | 1449 break; |
1446 case kCheckedLoadInt16: | 1450 case kCheckedLoadInt16: |
1447 ASSEMBLE_CHECKED_LOAD_INTEGER(lh); | 1451 ASSEMBLE_CHECKED_LOAD_INTEGER(lh); |
1448 break; | 1452 break; |
1449 case kCheckedLoadUint16: | 1453 case kCheckedLoadUint16: |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 padding_size -= v8::internal::Assembler::kInstrSize; | 2190 padding_size -= v8::internal::Assembler::kInstrSize; |
2187 } | 2191 } |
2188 } | 2192 } |
2189 } | 2193 } |
2190 | 2194 |
2191 #undef __ | 2195 #undef __ |
2192 | 2196 |
2193 } // namespace compiler | 2197 } // namespace compiler |
2194 } // namespace internal | 2198 } // namespace internal |
2195 } // namespace v8 | 2199 } // namespace v8 |
OLD | NEW |