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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" |
9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1524 break; | 1524 break; |
1525 case kArm64Ldrh: | 1525 case kArm64Ldrh: |
1526 __ Ldrh(i.OutputRegister(), i.MemoryOperand()); | 1526 __ Ldrh(i.OutputRegister(), i.MemoryOperand()); |
1527 break; | 1527 break; |
1528 case kArm64Ldrsh: | 1528 case kArm64Ldrsh: |
1529 __ Ldrsh(i.OutputRegister(), i.MemoryOperand()); | 1529 __ Ldrsh(i.OutputRegister(), i.MemoryOperand()); |
1530 break; | 1530 break; |
1531 case kArm64Strh: | 1531 case kArm64Strh: |
1532 __ Strh(i.InputOrZeroRegister64(0), i.MemoryOperand(1)); | 1532 __ Strh(i.InputOrZeroRegister64(0), i.MemoryOperand(1)); |
1533 break; | 1533 break; |
| 1534 case kArm64Ldrsw: |
| 1535 __ Ldrsw(i.OutputRegister(), i.MemoryOperand()); |
| 1536 break; |
1534 case kArm64LdrW: | 1537 case kArm64LdrW: |
1535 __ Ldr(i.OutputRegister32(), i.MemoryOperand()); | 1538 __ Ldr(i.OutputRegister32(), i.MemoryOperand()); |
1536 break; | 1539 break; |
1537 case kArm64StrW: | 1540 case kArm64StrW: |
1538 __ Str(i.InputOrZeroRegister32(0), i.MemoryOperand(1)); | 1541 __ Str(i.InputOrZeroRegister32(0), i.MemoryOperand(1)); |
1539 break; | 1542 break; |
1540 case kArm64Ldr: | 1543 case kArm64Ldr: |
1541 __ Ldr(i.OutputRegister(), i.MemoryOperand()); | 1544 __ Ldr(i.OutputRegister(), i.MemoryOperand()); |
1542 break; | 1545 break; |
1543 case kArm64Str: | 1546 case kArm64Str: |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2072 padding_size -= kInstructionSize; | 2075 padding_size -= kInstructionSize; |
2073 } | 2076 } |
2074 } | 2077 } |
2075 } | 2078 } |
2076 | 2079 |
2077 #undef __ | 2080 #undef __ |
2078 | 2081 |
2079 } // namespace compiler | 2082 } // namespace compiler |
2080 } // namespace internal | 2083 } // namespace internal |
2081 } // namespace v8 | 2084 } // namespace v8 |
OLD | NEW |