| 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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 void BranchLinkOffset(Register base, int32_t offset); | 576 void BranchLinkOffset(Register base, int32_t offset); |
| 577 | 577 |
| 578 // Add signed immediate value to rd. May clobber IP. | 578 // Add signed immediate value to rd. May clobber IP. |
| 579 void AddImmediate(Register rd, int32_t value, Condition cond = AL); | 579 void AddImmediate(Register rd, int32_t value, Condition cond = AL); |
| 580 void AddImmediate(Register rd, Register rn, int32_t value, | 580 void AddImmediate(Register rd, Register rn, int32_t value, |
| 581 Condition cond = AL); | 581 Condition cond = AL); |
| 582 void AddImmediateSetFlags(Register rd, Register rn, int32_t value, | 582 void AddImmediateSetFlags(Register rd, Register rn, int32_t value, |
| 583 Condition cond = AL); | 583 Condition cond = AL); |
| 584 void SubImmediateSetFlags(Register rd, Register rn, int32_t value, | 584 void SubImmediateSetFlags(Register rd, Register rn, int32_t value, |
| 585 Condition cond = AL); | 585 Condition cond = AL); |
| 586 void SubImmediate(Register rd, int32_t value, Condition cond = AL); |
| 587 |
| 586 void AndImmediate(Register rd, Register rs, int32_t imm, Condition cond = AL); | 588 void AndImmediate(Register rd, Register rs, int32_t imm, Condition cond = AL); |
| 587 | 589 |
| 588 // Test rn and immediate. May clobber IP. | 590 // Test rn and immediate. May clobber IP. |
| 589 void TestImmediate(Register rn, int32_t imm, Condition cond = AL); | 591 void TestImmediate(Register rn, int32_t imm, Condition cond = AL); |
| 590 | 592 |
| 591 // Compare rn with signed immediate value. May clobber IP. | 593 // Compare rn with signed immediate value. May clobber IP. |
| 592 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); | 594 void CompareImmediate(Register rn, int32_t value, Condition cond = AL); |
| 593 | 595 |
| 594 | 596 |
| 595 // Signed integer division of left by right. Checks to see if integer | 597 // Signed integer division of left by right. Checks to see if integer |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 Register value, | 938 Register value, |
| 937 Label* no_update); | 939 Label* no_update); |
| 938 | 940 |
| 939 DISALLOW_ALLOCATION(); | 941 DISALLOW_ALLOCATION(); |
| 940 DISALLOW_COPY_AND_ASSIGN(Assembler); | 942 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 941 }; | 943 }; |
| 942 | 944 |
| 943 } // namespace dart | 945 } // namespace dart |
| 944 | 946 |
| 945 #endif // VM_ASSEMBLER_ARM_H_ | 947 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |