| 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR | 531 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR |
| 532 | 532 |
| 533 // Duplicates the operand of size sz at index idx from dm to all elements of | 533 // Duplicates the operand of size sz at index idx from dm to all elements of |
| 534 // qd. This is a special case of vtbl. | 534 // qd. This is a special case of vtbl. |
| 535 void vdup(OperandSize sz, QRegister qd, DRegister dm, int idx); | 535 void vdup(OperandSize sz, QRegister qd, DRegister dm, int idx); |
| 536 | 536 |
| 537 // Each byte of dm is an index into the table of bytes formed by concatenating | 537 // Each byte of dm is an index into the table of bytes formed by concatenating |
| 538 // a list of 'length' registers starting with dn. The result is placed in dd. | 538 // a list of 'length' registers starting with dn. The result is placed in dd. |
| 539 void vtbl(DRegister dd, DRegister dn, int length, DRegister dm); | 539 void vtbl(DRegister dd, DRegister dn, int length, DRegister dm); |
| 540 | 540 |
| 541 // The words of qd and qm are interleaved with the low words of the result |
| 542 // in qd and the high words in qm. |
| 543 void vzipqw(QRegister qd, QRegister qm); |
| 544 |
| 541 // Branch instructions. | 545 // Branch instructions. |
| 542 void b(Label* label, Condition cond = AL); | 546 void b(Label* label, Condition cond = AL); |
| 543 void bl(Label* label, Condition cond = AL); | 547 void bl(Label* label, Condition cond = AL); |
| 544 void bx(Register rm, Condition cond = AL); | 548 void bx(Register rm, Condition cond = AL); |
| 545 void blx(Register rm, Condition cond = AL); | 549 void blx(Register rm, Condition cond = AL); |
| 546 | 550 |
| 547 // Macros. | 551 // Macros. |
| 548 // Branch to an entry address. Call sequence is never patched. | 552 // Branch to an entry address. Call sequence is never patched. |
| 549 void Branch(const ExternalLabel* label, Condition cond = AL); | 553 void Branch(const ExternalLabel* label, Condition cond = AL); |
| 550 | 554 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 Register value, | 861 Register value, |
| 858 Label* no_update); | 862 Label* no_update); |
| 859 | 863 |
| 860 DISALLOW_ALLOCATION(); | 864 DISALLOW_ALLOCATION(); |
| 861 DISALLOW_COPY_AND_ASSIGN(Assembler); | 865 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 862 }; | 866 }; |
| 863 | 867 |
| 864 } // namespace dart | 868 } // namespace dart |
| 865 | 869 |
| 866 #endif // VM_ASSEMBLER_ARM_H_ | 870 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |