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

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

Issue 12378080: Adds mrc instruction to arm simulator, assembler, disassembler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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') | runtime/vm/assembler_arm.cc » ('J')
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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 void vcmpsz(SRegister sd, Condition cond = AL); 481 void vcmpsz(SRegister sd, Condition cond = AL);
482 void vcmpdz(DRegister dd, Condition cond = AL); 482 void vcmpdz(DRegister dd, Condition cond = AL);
483 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR 483 void vmstat(Condition cond = AL); // VMRS APSR_nzcv, FPSCR
484 484
485 // Branch instructions. 485 // Branch instructions.
486 void b(Label* label, Condition cond = AL); 486 void b(Label* label, Condition cond = AL);
487 void bl(Label* label, Condition cond = AL); 487 void bl(Label* label, Condition cond = AL);
488 void bx(Register rm, Condition cond = AL); 488 void bx(Register rm, Condition cond = AL);
489 void blx(Register rm, Condition cond = AL); 489 void blx(Register rm, Condition cond = AL);
490 490
491 // MRC
regis 2013/03/04 21:54:52 Better to spell out MRC: Move to ARM core register
srdjan 2013/03/04 22:02:17 Also terminate all comments with a period.
492 void mrc(Register rd, int32_t coproc, int32_t opc1,
493 int32_t CRn, int32_t CRm, int32_t opc2, Condition cond = AL);
regis 2013/03/04 21:54:52 No upper case for locals.
494
491 // Macros. 495 // Macros.
492 // Branch to an entry address. Call sequence is never patched. 496 // Branch to an entry address. Call sequence is never patched.
493 void Branch(const ExternalLabel* label, Condition cond = AL); 497 void Branch(const ExternalLabel* label, Condition cond = AL);
494 498
495 // Branch and link to an entry address. Call sequence is never patched. 499 // Branch and link to an entry address. Call sequence is never patched.
496 void BranchLink(const ExternalLabel* label); 500 void BranchLink(const ExternalLabel* label);
497 501
498 // Branch and link to an entry address. Call sequence can be patched. 502 // Branch and link to an entry address. Call sequence can be patched.
499 void BranchLinkPatchable(const ExternalLabel* label); 503 void BranchLinkPatchable(const ExternalLabel* label);
500 504
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 return *reg1 - *reg2; 706 return *reg1 - *reg2;
703 } 707 }
704 708
705 DISALLOW_ALLOCATION(); 709 DISALLOW_ALLOCATION();
706 DISALLOW_COPY_AND_ASSIGN(Assembler); 710 DISALLOW_COPY_AND_ASSIGN(Assembler);
707 }; 711 };
708 712
709 } // namespace dart 713 } // namespace dart
710 714
711 #endif // VM_ASSEMBLER_ARM_H_ 715 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | runtime/vm/assembler_arm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698