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 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe | 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe |
6 // Please update the (git) revision if we merge changes from Dart. | 6 // Please update the (git) revision if we merge changes from Dart. |
7 // https://code.google.com/p/dart/wiki/GettingTheSource | 7 // https://code.google.com/p/dart/wiki/GettingTheSource |
8 | 8 |
9 #ifndef VM_ASSEMBLER_ARM_H_ | 9 #ifndef VM_ASSEMBLER_ARM_H_ |
10 #define VM_ASSEMBLER_ARM_H_ | 10 #define VM_ASSEMBLER_ARM_H_ |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
522 | 522 |
523 // Emulation of this instruction uses IP and the condition codes. Therefore, | 523 // Emulation of this instruction uses IP and the condition codes. Therefore, |
524 // none of the registers can be IP, and the instruction can only be used | 524 // none of the registers can be IP, and the instruction can only be used |
525 // unconditionally. | 525 // unconditionally. |
526 void umaal(Register rd_lo, Register rd_hi, Register rn, Register rm); | 526 void umaal(Register rd_lo, Register rd_hi, Register rn, Register rm); |
527 | 527 |
528 // Division instructions. | 528 // Division instructions. |
529 #if 0 | 529 #if 0 |
530 // Moved to ARM32::AssemblerARM32::sdiv() | 530 // Moved to ARM32::AssemblerARM32::sdiv() |
531 void sdiv(Register rd, Register rn, Register rm, Condition cond = AL); | 531 void sdiv(Register rd, Register rn, Register rm, Condition cond = AL); |
532 #endif | 532 // Moved to ARM32::AssemblerARM32::udiv() |
533 void udiv(Register rd, Register rn, Register rm, Condition cond = AL); | 533 void udiv(Register rd, Register rn, Register rm, Condition cond = AL); |
534 | 534 |
535 #if 0 | |
536 // Moved to ARM32::AssemblerARM32::ldr() | 535 // Moved to ARM32::AssemblerARM32::ldr() |
537 // Load/store instructions. | 536 // Load/store instructions. |
538 void ldr(Register rd, Address ad, Condition cond = AL); | 537 void ldr(Register rd, Address ad, Condition cond = AL); |
539 // Moved to ARM32::AssemblerARM32::str() | 538 // Moved to ARM32::AssemblerARM32::str() |
540 void str(Register rd, Address ad, Condition cond = AL); | 539 void str(Register rd, Address ad, Condition cond = AL); |
541 | 540 |
542 // Moved to ARM32::AssemblerARM32::ldr() | 541 // Moved to ARM32::AssemblerARM32::ldr() |
543 void ldrb(Register rd, Address ad, Condition cond = AL); | 542 void ldrb(Register rd, Address ad, Condition cond = AL); |
544 // Moved to ARM32::AssemblerARM32::str() | 543 // Moved to ARM32::AssemblerARM32::str() |
545 void strb(Register rd, Address ad, Condition cond = AL); | 544 void strb(Register rd, Address ad, Condition cond = AL); |
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 Register new_value, | 1264 Register new_value, |
1266 FieldContent old_content); | 1265 FieldContent old_content); |
1267 | 1266 |
1268 DISALLOW_ALLOCATION(); | 1267 DISALLOW_ALLOCATION(); |
1269 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1268 DISALLOW_COPY_AND_ASSIGN(Assembler); |
1270 }; | 1269 }; |
1271 | 1270 |
1272 } // namespace dart | 1271 } // namespace dart |
1273 | 1272 |
1274 #endif // VM_ASSEMBLER_ARM_H_ | 1273 #endif // VM_ASSEMBLER_ARM_H_ |
OLD | NEW |