| 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 RegList regs, Condition cond = AL); | 429 RegList regs, Condition cond = AL); |
| 430 | 430 |
| 431 void ldrex(Register rd, Register rn, Condition cond = AL); | 431 void ldrex(Register rd, Register rn, Condition cond = AL); |
| 432 void strex(Register rd, Register rt, Register rn, Condition cond = AL); | 432 void strex(Register rd, Register rt, Register rn, Condition cond = AL); |
| 433 | 433 |
| 434 // Miscellaneous instructions. | 434 // Miscellaneous instructions. |
| 435 void clrex(); | 435 void clrex(); |
| 436 void nop(Condition cond = AL); | 436 void nop(Condition cond = AL); |
| 437 | 437 |
| 438 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0. | 438 // Note that gdb sets breakpoints using the undefined instruction 0xe7f001f0. |
| 439 void bkpt(uint16_t imm16, Condition cond = AL); | 439 void bkpt(uint16_t imm16); |
| 440 void svc(uint32_t imm24, Condition cond = AL); | 440 void svc(uint32_t imm24, Condition cond = AL); |
| 441 | 441 |
| 442 // Floating point instructions (VFPv3-D16 and VFPv3-D32 profiles). | 442 // Floating point instructions (VFPv3-D16 and VFPv3-D32 profiles). |
| 443 void vmovsr(SRegister sn, Register rt, Condition cond = AL); | 443 void vmovsr(SRegister sn, Register rt, Condition cond = AL); |
| 444 void vmovrs(Register rt, SRegister sn, Condition cond = AL); | 444 void vmovrs(Register rt, SRegister sn, Condition cond = AL); |
| 445 void vmovsrr(SRegister sm, Register rt, Register rt2, Condition cond = AL); | 445 void vmovsrr(SRegister sm, Register rt, Register rt2, Condition cond = AL); |
| 446 void vmovrrs(Register rt, Register rt2, SRegister sm, Condition cond = AL); | 446 void vmovrrs(Register rt, Register rt2, SRegister sm, Condition cond = AL); |
| 447 void vmovdrr(DRegister dm, Register rt, Register rt2, Condition cond = AL); | 447 void vmovdrr(DRegister dm, Register rt, Register rt2, Condition cond = AL); |
| 448 void vmovrrd(Register rt, Register rt2, DRegister dm, Condition cond = AL); | 448 void vmovrrd(Register rt, Register rt2, DRegister dm, Condition cond = AL); |
| 449 void vmovs(SRegister sd, SRegister sm, Condition cond = AL); | 449 void vmovs(SRegister sd, SRegister sm, Condition cond = AL); |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 800 Register value, | 800 Register value, |
| 801 Label* no_update); | 801 Label* no_update); |
| 802 | 802 |
| 803 DISALLOW_ALLOCATION(); | 803 DISALLOW_ALLOCATION(); |
| 804 DISALLOW_COPY_AND_ASSIGN(Assembler); | 804 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 805 }; | 805 }; |
| 806 | 806 |
| 807 } // namespace dart | 807 } // namespace dart |
| 808 | 808 |
| 809 #endif // VM_ASSEMBLER_ARM_H_ | 809 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |