Chromium Code Reviews| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 481 void vcmpsz(SRegister sd, Condition cond = AL); | 481 void vcmpsz(SRegister sd, Condition cond = AL); |
| 482 void vcmpdz(DRegister dd, Condition cond = AL); | 482 void vcmpdz(DRegister dd, Condition cond = AL); |
| 483 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR | 483 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR |
| 484 | 484 |
| 485 // Branch instructions. | 485 // Branch instructions. |
| 486 void b(Label* label, Condition cond = AL); | 486 void b(Label* label, Condition cond = AL); |
| 487 void bl(Label* label, Condition cond = AL); | 487 void bl(Label* label, Condition cond = AL); |
| 488 void bx(Register rm, Condition cond = AL); | 488 void bx(Register rm, Condition cond = AL); |
| 489 void blx(Register rm, Condition cond = AL); | 489 void blx(Register rm, Condition cond = AL); |
| 490 | 490 |
| 491 // MRC | |
|
regis
2013/03/04 21:54:52
Better to spell out MRC: Move to ARM core register
srdjan
2013/03/04 22:02:17
Also terminate all comments with a period.
| |
| 492 void mrc(Register rd, int32_t coproc, int32_t opc1, | |
| 493 int32_t CRn, int32_t CRm, int32_t opc2, Condition cond = AL); | |
|
regis
2013/03/04 21:54:52
No upper case for locals.
| |
| 494 | |
| 491 // Macros. | 495 // Macros. |
| 492 // Branch to an entry address. Call sequence is never patched. | 496 // Branch to an entry address. Call sequence is never patched. |
| 493 void Branch(const ExternalLabel* label, Condition cond = AL); | 497 void Branch(const ExternalLabel* label, Condition cond = AL); |
| 494 | 498 |
| 495 // Branch and link to an entry address. Call sequence is never patched. | 499 // Branch and link to an entry address. Call sequence is never patched. |
| 496 void BranchLink(const ExternalLabel* label); | 500 void BranchLink(const ExternalLabel* label); |
| 497 | 501 |
| 498 // Branch and link to an entry address. Call sequence can be patched. | 502 // Branch and link to an entry address. Call sequence can be patched. |
| 499 void BranchLinkPatchable(const ExternalLabel* label); | 503 void BranchLinkPatchable(const ExternalLabel* label); |
| 500 | 504 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 702 return *reg1 - *reg2; | 706 return *reg1 - *reg2; |
| 703 } | 707 } |
| 704 | 708 |
| 705 DISALLOW_ALLOCATION(); | 709 DISALLOW_ALLOCATION(); |
| 706 DISALLOW_COPY_AND_ASSIGN(Assembler); | 710 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 707 }; | 711 }; |
| 708 | 712 |
| 709 } // namespace dart | 713 } // namespace dart |
| 710 | 714 |
| 711 #endif // VM_ASSEMBLER_ARM_H_ | 715 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |