| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_ASSEMBLER_ARM_H_ | 5 #ifndef VM_ASSEMBLER_ARM_H_ |
| 6 #define VM_ASSEMBLER_ARM_H_ | 6 #define VM_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_arm.h directly; use assembler.h instead. | 9 #error Do not include assembler_arm.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 void vcmpsz(SRegister sd, Condition cond = AL); | 507 void vcmpsz(SRegister sd, Condition cond = AL); |
| 508 void vcmpdz(DRegister dd, Condition cond = AL); | 508 void vcmpdz(DRegister dd, Condition cond = AL); |
| 509 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR | 509 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR |
| 510 | 510 |
| 511 // Branch instructions. | 511 // Branch instructions. |
| 512 void b(Label* label, Condition cond = AL); | 512 void b(Label* label, Condition cond = AL); |
| 513 void bl(Label* label, Condition cond = AL); | 513 void bl(Label* label, Condition cond = AL); |
| 514 void bx(Register rm, Condition cond = AL); | 514 void bx(Register rm, Condition cond = AL); |
| 515 void blx(Register rm, Condition cond = AL); | 515 void blx(Register rm, Condition cond = AL); |
| 516 | 516 |
| 517 // Move to ARM core register from Coprocessor. | |
| 518 void mrc(Register rd, int32_t coproc, int32_t opc1, | |
| 519 int32_t crn, int32_t crm, int32_t opc2, Condition cond = AL); | |
| 520 | |
| 521 // Macros. | 517 // Macros. |
| 522 // Branch to an entry address. Call sequence is never patched. | 518 // Branch to an entry address. Call sequence is never patched. |
| 523 void Branch(const ExternalLabel* label, Condition cond = AL); | 519 void Branch(const ExternalLabel* label, Condition cond = AL); |
| 524 | 520 |
| 525 // Branch to an entry address. Call sequence can be patched or even replaced. | 521 // Branch to an entry address. Call sequence can be patched or even replaced. |
| 526 void BranchPatchable(const ExternalLabel* label); | 522 void BranchPatchable(const ExternalLabel* label); |
| 527 | 523 |
| 528 // Branch and link to an entry address. Call sequence is never patched. | 524 // Branch and link to an entry address. Call sequence is never patched. |
| 529 void BranchLink(const ExternalLabel* label); | 525 void BranchLink(const ExternalLabel* label); |
| 530 | 526 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 Register value, | 798 Register value, |
| 803 Label* no_update); | 799 Label* no_update); |
| 804 | 800 |
| 805 DISALLOW_ALLOCATION(); | 801 DISALLOW_ALLOCATION(); |
| 806 DISALLOW_COPY_AND_ASSIGN(Assembler); | 802 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 807 }; | 803 }; |
| 808 | 804 |
| 809 } // namespace dart | 805 } // namespace dart |
| 810 | 806 |
| 811 #endif // VM_ASSEMBLER_ARM_H_ | 807 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |