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 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 may not be DTMP, but tmpr may. | |
| 555 void IntegerDivide(Register result, Register left, Register right, | |
|
regis
2013/07/01 16:54:09
You could remove the restriction ("tmpl may not be
zra
2013/07/01 17:43:46
Done.
| |
| 556 DRegister tmpl, DRegister tmpr); | |
| 557 | |
| 552 // Load and Store. May clobber IP. | 558 // Load and Store. May clobber IP. |
| 553 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); | 559 void LoadImmediate(Register rd, int32_t value, Condition cond = AL); |
| 554 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); | 560 void LoadSImmediate(SRegister sd, float value, Condition cond = AL); |
| 555 void LoadDImmediate(DRegister dd, double value, | 561 void LoadDImmediate(DRegister dd, double value, |
| 556 Register scratch, Condition cond = AL); | 562 Register scratch, Condition cond = AL); |
| 557 | 563 |
| 558 void MarkExceptionHandler(Label* label); | 564 void MarkExceptionHandler(Label* label); |
| 559 | 565 |
| 560 void Drop(intptr_t stack_elements); | 566 void Drop(intptr_t stack_elements); |
| 561 | 567 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 805 Register value, | 811 Register value, |
| 806 Label* no_update); | 812 Label* no_update); |
| 807 | 813 |
| 808 DISALLOW_ALLOCATION(); | 814 DISALLOW_ALLOCATION(); |
| 809 DISALLOW_COPY_AND_ASSIGN(Assembler); | 815 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 810 }; | 816 }; |
| 811 | 817 |
| 812 } // namespace dart | 818 } // namespace dart |
| 813 | 819 |
| 814 #endif // VM_ASSEMBLER_ARM_H_ | 820 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |