| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); | 669 void Lsr(Register rd, Register rm, Register rs, Condition cond = AL); |
| 670 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); | 670 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); |
| 671 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); | 671 void Asr(Register rd, Register rm, Register rs, Condition cond = AL); |
| 672 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); | 672 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); |
| 673 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); | 673 void Ror(Register rd, Register rm, Register rs, Condition cond = AL); |
| 674 void Rrx(Register rd, Register rm, Condition cond = AL); | 674 void Rrx(Register rd, Register rm, Condition cond = AL); |
| 675 | 675 |
| 676 void Vreciprocalqs(QRegister qd, QRegister qm); | 676 void Vreciprocalqs(QRegister qd, QRegister qm); |
| 677 void VreciprocalSqrtqs(QRegister qd, QRegister qm); | 677 void VreciprocalSqrtqs(QRegister qd, QRegister qm); |
| 678 // If qm must be preserved, then provide a (non-QTMP) temporary. | 678 // If qm must be preserved, then provide a (non-QTMP) temporary. |
| 679 void Vsqrtqs(QRegister qd, QRegister qm, QRegister temp = kNoQRegister); | 679 void Vsqrtqs(QRegister qd, QRegister qm, QRegister temp); |
| 680 void Vdivqs(QRegister qd, QRegister qn, QRegister qm); | 680 void Vdivqs(QRegister qd, QRegister qn, QRegister qm); |
| 681 | 681 |
| 682 void SmiTag(Register reg, Condition cond = AL) { | 682 void SmiTag(Register reg, Condition cond = AL) { |
| 683 Lsl(reg, reg, kSmiTagSize, cond); | 683 Lsl(reg, reg, kSmiTagSize, cond); |
| 684 } | 684 } |
| 685 | 685 |
| 686 void SmiUntag(Register reg, Condition cond = AL) { | 686 void SmiUntag(Register reg, Condition cond = AL) { |
| 687 Asr(reg, reg, kSmiTagSize, cond); | 687 Asr(reg, reg, kSmiTagSize, cond); |
| 688 } | 688 } |
| 689 | 689 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 Register value, | 868 Register value, |
| 869 Label* no_update); | 869 Label* no_update); |
| 870 | 870 |
| 871 DISALLOW_ALLOCATION(); | 871 DISALLOW_ALLOCATION(); |
| 872 DISALLOW_COPY_AND_ASSIGN(Assembler); | 872 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 873 }; | 873 }; |
| 874 | 874 |
| 875 } // namespace dart | 875 } // namespace dart |
| 876 | 876 |
| 877 #endif // VM_ASSEMBLER_ARM_H_ | 877 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |