| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 void mls(Register rd, Register rn, Register rm, Register ra, | 431 void mls(Register rd, Register rn, Register rm, Register ra, |
| 432 Condition cond = AL); | 432 Condition cond = AL); |
| 433 void smull(Register rd_lo, Register rd_hi, Register rn, Register rm, | 433 void smull(Register rd_lo, Register rd_hi, Register rn, Register rm, |
| 434 Condition cond = AL); | 434 Condition cond = AL); |
| 435 void umull(Register rd_lo, Register rd_hi, Register rn, Register rm, | 435 void umull(Register rd_lo, Register rd_hi, Register rn, Register rm, |
| 436 Condition cond = AL); | 436 Condition cond = AL); |
| 437 void smlal(Register rd_lo, Register rd_hi, Register rn, Register rm, | 437 void smlal(Register rd_lo, Register rd_hi, Register rn, Register rm, |
| 438 Condition cond = AL); | 438 Condition cond = AL); |
| 439 void umlal(Register rd_lo, Register rd_hi, Register rn, Register rm, | 439 void umlal(Register rd_lo, Register rd_hi, Register rn, Register rm, |
| 440 Condition cond = AL); | 440 Condition cond = AL); |
| 441 void umaal(Register rd_lo, Register rd_hi, Register rn, Register rm, | 441 |
| 442 Condition cond = AL); | 442 // Emulation of this instruction uses IP and the condition codes. Therefore, |
| 443 // none of the registers can be IP, and the instruction can only be used |
| 444 // unconditionally. |
| 445 void umaal(Register rd_lo, Register rd_hi, Register rn, Register rm); |
| 443 | 446 |
| 444 // Division instructions. | 447 // Division instructions. |
| 445 void sdiv(Register rd, Register rn, Register rm, Condition cond = AL); | 448 void sdiv(Register rd, Register rn, Register rm, Condition cond = AL); |
| 446 void udiv(Register rd, Register rn, Register rm, Condition cond = AL); | 449 void udiv(Register rd, Register rn, Register rm, Condition cond = AL); |
| 447 | 450 |
| 448 // Load/store instructions. | 451 // Load/store instructions. |
| 449 void ldr(Register rd, Address ad, Condition cond = AL); | 452 void ldr(Register rd, Address ad, Condition cond = AL); |
| 450 void str(Register rd, Address ad, Condition cond = AL); | 453 void str(Register rd, Address ad, Condition cond = AL); |
| 451 | 454 |
| 452 void ldrb(Register rd, Address ad, Condition cond = AL); | 455 void ldrb(Register rd, Address ad, Condition cond = AL); |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1115 Register new_value, | 1118 Register new_value, |
| 1116 FieldContent old_content); | 1119 FieldContent old_content); |
| 1117 | 1120 |
| 1118 DISALLOW_ALLOCATION(); | 1121 DISALLOW_ALLOCATION(); |
| 1119 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1122 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1120 }; | 1123 }; |
| 1121 | 1124 |
| 1122 } // namespace dart | 1125 } // namespace dart |
| 1123 | 1126 |
| 1124 #endif // VM_ASSEMBLER_ARM_H_ | 1127 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |