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

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

Issue 308513005: Intrinsify [] for ExternalUint8 and Uint8 typed data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/lib/object.cc ('k') | runtime/vm/intrinsifier_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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Class for intrinsifying functions. 4 // Class for intrinsifying functions.
5 5
6 #ifndef VM_INTRINSIFIER_H_ 6 #ifndef VM_INTRINSIFIER_H_
7 #define VM_INTRINSIFIER_H_ 7 #define VM_INTRINSIFIER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \ 124 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \
125 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \ 125 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \
126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \ 126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \
127 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \ 127 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \
128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ 128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \
129 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ 129 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \
130 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ 130 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \
131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ 131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \
132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ 132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \
133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \ 133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \
134 V(_Uint8Array, [], Uint8Array_getIndexed, 738731818) \
135 V(_ExternalUint8Array, [], ExternalUint8Array_getIndexed, 2067666479) \
134 136
135 137
136 #define PROFILER_LIB_INTRINSIC_LIST(V) \ 138 #define PROFILER_LIB_INTRINSIC_LIST(V) \
137 V(_UserTag, makeCurrent, UserTag_makeCurrent, 2084603703) \ 139 V(_UserTag, makeCurrent, UserTag_makeCurrent, 2084603703) \
138 V(::, _getDefaultTag, UserTag_defaultTag, 624228668) \ 140 V(::, _getDefaultTag, UserTag_defaultTag, 624228668) \
139 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \ 141 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \
140 142
141 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and 143 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
142 // _FixedSizeArrayIterator, moveNext. 144 // _FixedSizeArrayIterator, moveNext.
143 145
(...skipping 19 matching lines...) Expand all
163 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 165 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
164 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 166 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
165 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 167 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
166 168
167 #undef DECLARE_FUNCTION 169 #undef DECLARE_FUNCTION
168 }; 170 };
169 171
170 } // namespace dart 172 } // namespace dart
171 173
172 #endif // VM_INTRINSIFIER_H_ 174 #endif // VM_INTRINSIFIER_H_
OLDNEW
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698