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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL); | 692 void Lsl(Register rd, Register rm, Register rs, Condition cond = AL); |
693 void Lsr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); | 693 void Lsr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); |
694 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); | 694 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); |
695 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); | 695 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); |
696 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); | 696 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); |
697 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); | 697 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); |
698 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); | 698 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); |
699 void Rrx(Register rd, Register rm, Condition cond = AL); | 699 void Rrx(Register rd, Register rm, Condition cond = AL); |
700 | 700 |
701 // Fill rd with the sign of rm. | 701 // Fill rd with the sign of rm. |
702 void SignFill(Register rd, Register rm); | 702 void SignFill(Register rd, Register rm, Condition cond = AL); |
703 | 703 |
704 void Vreciprocalqs(QRegister qd, QRegister qm); | 704 void Vreciprocalqs(QRegister qd, QRegister qm); |
705 void VreciprocalSqrtqs(QRegister qd, QRegister qm); | 705 void VreciprocalSqrtqs(QRegister qd, QRegister qm); |
706 // If qm must be preserved, then provide a (non-QTMP) temporary. | 706 // If qm must be preserved, then provide a (non-QTMP) temporary. |
707 void Vsqrtqs(QRegister qd, QRegister qm, QRegister temp); | 707 void Vsqrtqs(QRegister qd, QRegister qm, QRegister temp); |
708 void Vdivqs(QRegister qd, QRegister qn, QRegister qm); | 708 void Vdivqs(QRegister qd, QRegister qn, QRegister qm); |
709 | 709 |
710 void SmiTag(Register reg, Condition cond = AL) { | 710 void SmiTag(Register reg, Condition cond = AL) { |
711 Lsl(reg, reg, kSmiTagSize, cond); | 711 Lsl(reg, reg, kSmiTagSize, cond); |
712 } | 712 } |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 Register value, | 914 Register value, |
915 Label* no_update); | 915 Label* no_update); |
916 | 916 |
917 DISALLOW_ALLOCATION(); | 917 DISALLOW_ALLOCATION(); |
918 DISALLOW_COPY_AND_ASSIGN(Assembler); | 918 DISALLOW_COPY_AND_ASSIGN(Assembler); |
919 }; | 919 }; |
920 | 920 |
921 } // namespace dart | 921 } // namespace dart |
922 | 922 |
923 #endif // VM_ASSEMBLER_ARM_H_ | 923 #endif // VM_ASSEMBLER_ARM_H_ |
OLD | NEW |