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

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

Issue 752633002: arm: Move unrolled array initialization to Assembler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 const Address& dest, 665 const Address& dest,
666 const Object& value); 666 const Object& value);
667 void StoreIntoObjectNoBarrierOffset(Register object, 667 void StoreIntoObjectNoBarrierOffset(Register object,
668 int32_t offset, 668 int32_t offset,
669 const Object& value); 669 const Object& value);
670 670
671 // Store value_even, value_odd, value_even, ... into the words in the address 671 // Store value_even, value_odd, value_even, ... into the words in the address
672 // range [begin, end), assumed to be uninitialized fields in object (tagged). 672 // range [begin, end), assumed to be uninitialized fields in object (tagged).
673 // The stores must not need a generational store barrier (e.g., smi/null), 673 // The stores must not need a generational store barrier (e.g., smi/null),
674 // and (value_even, value_odd) must be a valid register pair. 674 // and (value_even, value_odd) must be a valid register pair.
675 // Destroys register 'begin'.
675 void InitializeFieldsNoBarrier(Register object, 676 void InitializeFieldsNoBarrier(Register object,
676 Register begin, 677 Register begin,
677 Register end, 678 Register end,
678 Register value_even, 679 Register value_even,
679 Register value_odd); 680 Register value_odd);
681 // Like above, for the range [begin, begin+count*kWordSize), unrolled.
682 void InitializeFieldsNoBarrierUnrolled(Register object,
683 Register begin,
684 intptr_t count,
685 Register value_even,
686 Register value_odd);
680 687
681 void LoadClassId(Register result, Register object, Condition cond = AL); 688 void LoadClassId(Register result, Register object, Condition cond = AL);
682 void LoadClassById(Register result, Register class_id); 689 void LoadClassById(Register result, Register class_id);
683 void LoadClass(Register result, Register object, Register scratch); 690 void LoadClass(Register result, Register object, Register scratch);
684 void CompareClassId(Register object, intptr_t class_id, Register scratch); 691 void CompareClassId(Register object, intptr_t class_id, Register scratch);
685 void LoadTaggedClassIdMayBeSmi(Register result, Register object); 692 void LoadTaggedClassIdMayBeSmi(Register result, Register object);
686 693
687 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL); 694 void LoadWordFromPoolOffset(Register rd, int32_t offset, Condition cond = AL);
688 void LoadFromOffset(OperandSize type, 695 void LoadFromOffset(OperandSize type,
689 Register reg, 696 Register reg,
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1034 Register value, 1041 Register value,
1035 Label* no_update); 1042 Label* no_update);
1036 1043
1037 DISALLOW_ALLOCATION(); 1044 DISALLOW_ALLOCATION();
1038 DISALLOW_COPY_AND_ASSIGN(Assembler); 1045 DISALLOW_COPY_AND_ASSIGN(Assembler);
1039 }; 1046 };
1040 1047
1041 } // namespace dart 1048 } // namespace dart
1042 1049
1043 #endif // VM_ASSEMBLER_ARM_H_ 1050 #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