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

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

Issue 21159002: Implements far-branches on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | « runtime/vm/assembler.cc ('k') | 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 int32_t opcode, 836 int32_t opcode,
837 DRegister dd, 837 DRegister dd,
838 SRegister sm); 838 SRegister sm);
839 839
840 void EmitSIMDqqq(int32_t opcode, OperandSize sz, 840 void EmitSIMDqqq(int32_t opcode, OperandSize sz,
841 QRegister qd, QRegister qn, QRegister qm); 841 QRegister qd, QRegister qn, QRegister qm);
842 842
843 void EmitSIMDddd(int32_t opcode, OperandSize sz, 843 void EmitSIMDddd(int32_t opcode, OperandSize sz,
844 DRegister dd, DRegister dn, DRegister dm); 844 DRegister dd, DRegister dn, DRegister dm);
845 845
846 void EmitFarBranch(Condition cond, int32_t offset, bool link);
846 void EmitBranch(Condition cond, Label* label, bool link); 847 void EmitBranch(Condition cond, Label* label, bool link);
847 static int32_t EncodeBranchOffset(int32_t offset, int32_t inst); 848 static int32_t EncodeBranchOffset(int32_t offset, int32_t inst);
848 static int DecodeBranchOffset(int32_t inst); 849 static int DecodeBranchOffset(int32_t inst);
849 int32_t EncodeTstOffset(int32_t offset, int32_t inst); 850 int32_t EncodeTstOffset(int32_t offset, int32_t inst);
850 int DecodeTstOffset(int32_t inst); 851 int DecodeTstOffset(int32_t inst);
851 852
852 void StoreIntoObjectFilter(Register object, Register value, Label* no_update); 853 void StoreIntoObjectFilter(Register object, Register value, Label* no_update);
853 854
854 // Shorter filtering sequence that assumes that value is not a smi. 855 // Shorter filtering sequence that assumes that value is not a smi.
855 void StoreIntoObjectFilterNoSmi(Register object, 856 void StoreIntoObjectFilterNoSmi(Register object,
856 Register value, 857 Register value,
857 Label* no_update); 858 Label* no_update);
858 859
859 DISALLOW_ALLOCATION(); 860 DISALLOW_ALLOCATION();
860 DISALLOW_COPY_AND_ASSIGN(Assembler); 861 DISALLOW_COPY_AND_ASSIGN(Assembler);
861 }; 862 };
862 863
863 } // namespace dart 864 } // namespace dart
864 865
865 #endif // VM_ASSEMBLER_ARM_H_ 866 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler.cc ('k') | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698