| 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 void AddImmediate(Register rd, Register rn, int32_t value, | 542 void AddImmediate(Register rd, Register rn, int32_t value, |
| 543 Condition cond = AL); | 543 Condition cond = AL); |
| 544 void AddImmediateSetFlags(Register rd, Register rn, int32_t value, | 544 void AddImmediateSetFlags(Register rd, Register rn, int32_t value, |
| 545 Condition cond = AL); | 545 Condition cond = AL); |
| 546 void AddImmediateWithCarry(Register rd, Register rn, int32_t value, | 546 void AddImmediateWithCarry(Register rd, Register rn, int32_t value, |
| 547 Condition cond = AL); | 547 Condition cond = AL); |
| 548 | 548 |
| 549 // Compare rn with signed immediate value. May clobber IP. | 549 // Compare rn with signed immediate value. May clobber IP. |
| 550 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); | 550 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); |
| 551 | 551 |
| 552 // Signed integer division of left by right. Checks to see if integer |
| 553 // division is supported. If not, uses the FPU for division with |
| 554 // temporary registers tmpl and tmpr. tmpl and tmpr must be different |
| 555 // registers. |
| 556 void IntegerDivide(Register result, Register left, Register right, |
| 557 DRegister tmpl, DRegister tmpr); |
| 558 |
| 552 // Load and Store. May clobber IP. | 559 // Load and Store. May clobber IP. |
| 553 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); | 560 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); |
| 554 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); | 561 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); |
| 555 void LoadDImmediate(DRegister dd, double value, | 562 void LoadDImmediate(DRegister dd, double value, |
| 556 Register scratch, Condition cond = AL); | 563 Register scratch, Condition cond = AL); |
| 557 | 564 |
| 558 void MarkExceptionHandler(Label* label); | 565 void MarkExceptionHandler(Label* label); |
| 559 | 566 |
| 560 void Drop(intptr_t stack_elements); | 567 void Drop(intptr_t stack_elements); |
| 561 | 568 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 Register value, | 812 Register value, |
| 806 Label* no_update); | 813 Label* no_update); |
| 807 | 814 |
| 808 DISALLOW_ALLOCATION(); | 815 DISALLOW_ALLOCATION(); |
| 809 DISALLOW_COPY_AND_ASSIGN(Assembler); | 816 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 810 }; | 817 }; |
| 811 | 818 |
| 812 } // namespace dart | 819 } // namespace dart |
| 813 | 820 |
| 814 #endif // VM_ASSEMBLER_ARM_H_ | 821 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |