Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: runtime/vm/assembler_arm.h

Issue 15899010: Implement a few more features on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 Register base, 606 Register base,
607 int32_t offset, 607 int32_t offset,
608 Condition cond = AL); 608 Condition cond = AL);
609 609
610 void Push(Register rd, Condition cond = AL); 610 void Push(Register rd, Condition cond = AL);
611 void Pop(Register rd, Condition cond = AL); 611 void Pop(Register rd, Condition cond = AL);
612 612
613 void PushList(RegList regs, Condition cond = AL); 613 void PushList(RegList regs, Condition cond = AL);
614 void PopList(RegList regs, Condition cond = AL); 614 void PopList(RegList regs, Condition cond = AL);
615 615
616 void Mov(Register rd, Register rm, Condition cond = AL); 616 void MoveRegister(Register rd, Register rm, Condition cond = AL);
617 617
618 // Convenience shift instructions. Use mov instruction with shifter operand 618 // Convenience shift instructions. Use mov instruction with shifter operand
619 // for variants setting the status flags or using a register shift count. 619 // for variants setting the status flags or using a register shift count.
620 void Lsl(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); 620 void Lsl(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL);
621 void Lsr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); 621 void Lsr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL);
622 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); 622 void Asr(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL);
623 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL); 623 void Ror(Register rd, Register rm, uint32_t shift_imm, Condition cond = AL);
624 void Rrx(Register rd, Register rm, Condition cond = AL); 624 void Rrx(Register rd, Register rm, Condition cond = AL);
625 625
626 void SmiTag(Register reg, Condition cond = AL) { 626 void SmiTag(Register reg, Condition cond = AL) {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 Register value, 798 Register value,
799 Label* no_update); 799 Label* no_update);
800 800
801 DISALLOW_ALLOCATION(); 801 DISALLOW_ALLOCATION();
802 DISALLOW_COPY_AND_ASSIGN(Assembler); 802 DISALLOW_COPY_AND_ASSIGN(Assembler);
803 }; 803 };
804 804
805 } // namespace dart 805 } // namespace dart
806 806
807 #endif // VM_ASSEMBLER_ARM_H_ 807 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698