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

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

Issue 408373002: Adds intrinsics for Float64Array [] and []=. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 5 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_arm.cc ('k') | runtime/vm/assembler_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64_H_ 5 #ifndef VM_ASSEMBLER_ARM64_H_
6 #define VM_ASSEMBLER_ARM64_H_ 6 #define VM_ASSEMBLER_ARM64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. 9 #error Do not include assembler_arm64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 1212
1213 // Inlined allocation of an instance of class 'cls', code has no runtime 1213 // Inlined allocation of an instance of class 'cls', code has no runtime
1214 // calls. Jump to 'failure' if the instance cannot be allocated here. 1214 // calls. Jump to 'failure' if the instance cannot be allocated here.
1215 // Allocated instance is returned in 'instance_reg'. 1215 // Allocated instance is returned in 'instance_reg'.
1216 // Only the tags field of the object is initialized. 1216 // Only the tags field of the object is initialized.
1217 void TryAllocate(const Class& cls, 1217 void TryAllocate(const Class& cls,
1218 Label* failure, 1218 Label* failure,
1219 Register instance_reg, 1219 Register instance_reg,
1220 Register pp); 1220 Register pp);
1221 1221
1222 Address ElementAddressForIntIndex(bool is_external,
1223 intptr_t cid,
1224 intptr_t index_scale,
1225 Register array,
1226 intptr_t index) const;
1227 Address ElementAddressForRegIndex(bool is_load,
1228 bool is_external,
1229 intptr_t cid,
1230 intptr_t index_scale,
1231 Register array,
1232 Register index);
1233
1222 private: 1234 private:
1223 AssemblerBuffer buffer_; // Contains position independent code. 1235 AssemblerBuffer buffer_; // Contains position independent code.
1224 1236
1225 // Objects and patchable jump targets. 1237 // Objects and patchable jump targets.
1226 GrowableObjectArray& object_pool_; 1238 GrowableObjectArray& object_pool_;
1227 1239
1228 // Patchability of pool entries. 1240 // Patchability of pool entries.
1229 GrowableArray<Patchability> patchable_pool_entries_; 1241 GrowableArray<Patchability> patchable_pool_entries_;
1230 1242
1231 // Pair type parameter for DirectChainedHashMap. 1243 // Pair type parameter for DirectChainedHashMap.
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 Register value, 1685 Register value,
1674 Label* no_update); 1686 Label* no_update);
1675 1687
1676 DISALLOW_ALLOCATION(); 1688 DISALLOW_ALLOCATION();
1677 DISALLOW_COPY_AND_ASSIGN(Assembler); 1689 DISALLOW_COPY_AND_ASSIGN(Assembler);
1678 }; 1690 };
1679 1691
1680 } // namespace dart 1692 } // namespace dart
1681 1693
1682 #endif // VM_ASSEMBLER_ARM64_H_ 1694 #endif // VM_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698