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

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

Issue 1372863003: VM: Add uint32 array intrinsics. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | no next file » | 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_METHOD_RECOGNIZER_H_ 5 #ifndef VM_METHOD_RECOGNIZER_H_
6 #define VM_METHOD_RECOGNIZER_H_ 6 #define VM_METHOD_RECOGNIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 V(_ExternalUint8ClampedArray, [], \ 123 V(_ExternalUint8ClampedArray, [], \
124 ExternalUint8ClampedArrayGetIndexed, 1871828532) \ 124 ExternalUint8ClampedArrayGetIndexed, 1871828532) \
125 V(_ExternalUint8ClampedArray, []=, \ 125 V(_ExternalUint8ClampedArray, []=, \
126 ExternalUint8ClampedArraySetIndexed, 1746834469) \ 126 ExternalUint8ClampedArraySetIndexed, 1746834469) \
127 V(_Int16Array, [], Int16ArrayGetIndexed, 1699340532) \ 127 V(_Int16Array, [], Int16ArrayGetIndexed, 1699340532) \
128 V(_Int16Array, []=, Int16ArraySetIndexed, 799870496) \ 128 V(_Int16Array, []=, Int16ArraySetIndexed, 799870496) \
129 V(_Uint16Array, [], Uint16ArrayGetIndexed, 452576118) \ 129 V(_Uint16Array, [], Uint16ArrayGetIndexed, 452576118) \
130 V(_Uint16Array, []=, Uint16ArraySetIndexed, 1594961463) \ 130 V(_Uint16Array, []=, Uint16ArraySetIndexed, 1594961463) \
131 V(_Int32Array, [], Int32ArrayGetIndexed, 2052925823) \ 131 V(_Int32Array, [], Int32ArrayGetIndexed, 2052925823) \
132 V(_Int32Array, []=, Int32ArraySetIndexed, 504626978) \ 132 V(_Int32Array, []=, Int32ArraySetIndexed, 504626978) \
133 V(_Uint32Array, [], Uint32ArrayGetIndexed, 1034114777) \
134 V(_Uint32Array, []=, Uint32ArraySetIndexed, 918159348) \
135 V(_Int64Array, [], Int64ArrayGetIndexed, 297668331) \ 133 V(_Int64Array, [], Int64ArrayGetIndexed, 297668331) \
136 V(_Int64Array, []=, Int64ArraySetIndexed, 36465128) \ 134 V(_Int64Array, []=, Int64ArraySetIndexed, 36465128) \
137 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 35821240) \ 135 V(_Float32x4Array, [], Float32x4ArrayGetIndexed, 35821240) \
138 V(_Float32x4Array, []=, Float32x4ArraySetIndexed, 428758949) \ 136 V(_Float32x4Array, []=, Float32x4ArraySetIndexed, 428758949) \
139 V(_Int32x4Array, [], Int32x4ArrayGetIndexed, 1830534333) \ 137 V(_Int32x4Array, [], Int32x4ArrayGetIndexed, 1830534333) \
140 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 1631676655) \ 138 V(_Int32x4Array, []=, Int32x4ArraySetIndexed, 1631676655) \
141 V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 1860837505) \ 139 V(_Float64x2Array, [], Float64x2ArrayGetIndexed, 1860837505) \
142 V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 821269609) \ 140 V(_Float64x2Array, []=, Float64x2ArraySetIndexed, 821269609) \
143 V(_Bigint, get:_neg, Bigint_getNeg, 1151633263) \ 141 V(_Bigint, get:_neg, Bigint_getNeg, 1151633263) \
144 V(_Bigint, get:_used, Bigint_getUsed, 1308648707) \ 142 V(_Bigint, get:_used, Bigint_getUsed, 1308648707) \
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 V(_Float64Array, ., TypedData_Float64Array_factory, 1430631000) \ 269 V(_Float64Array, ., TypedData_Float64Array_factory, 1430631000) \
272 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 158753569) \ 270 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 158753569) \
273 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 1189213641) \ 271 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 1189213641) \
274 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1699696799) \ 272 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1699696799) \
275 273
276 #define GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \ 274 #define GRAPH_TYPED_DATA_INTRINSICS_LIST(V) \
277 V(_Uint8Array, [], Uint8ArrayGetIndexed, 579862489) \ 275 V(_Uint8Array, [], Uint8ArrayGetIndexed, 579862489) \
278 V(_Uint8Array, []=, Uint8ArraySetIndexed, 447309008) \ 276 V(_Uint8Array, []=, Uint8ArraySetIndexed, 447309008) \
279 V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1293647140) \ 277 V(_ExternalUint8Array, [], ExternalUint8ArrayGetIndexed, 1293647140) \
280 V(_ExternalUint8Array, []=, ExternalUint8ArraySetIndexed, 1593599192) \ 278 V(_ExternalUint8Array, []=, ExternalUint8ArraySetIndexed, 1593599192) \
279 V(_Uint32Array, [], Uint32ArrayGetIndexed, 1034114777) \
280 V(_Uint32Array, []=, Uint32ArraySetIndexed, 918159348) \
281 V(_Float64Array, []=, Float64ArraySetIndexed, 887301703) \ 281 V(_Float64Array, []=, Float64ArraySetIndexed, 887301703) \
282 V(_Float64Array, [], Float64ArrayGetIndexed, 1959896670) \ 282 V(_Float64Array, [], Float64ArrayGetIndexed, 1959896670) \
283 V(_TypedList, get:length, TypedDataLength, 522684521) \ 283 V(_TypedList, get:length, TypedDataLength, 522684521) \
284 V(_Float32x4, get:x, Float32x4ShuffleX, 384969722) \ 284 V(_Float32x4, get:x, Float32x4ShuffleX, 384969722) \
285 V(_Float32x4, get:y, Float32x4ShuffleY, 1398121942) \ 285 V(_Float32x4, get:y, Float32x4ShuffleY, 1398121942) \
286 V(_Float32x4, get:z, Float32x4ShuffleZ, 1178175605) \ 286 V(_Float32x4, get:z, Float32x4ShuffleZ, 1178175605) \
287 V(_Float32x4, get:w, Float32x4ShuffleW, 480951003) \ 287 V(_Float32x4, get:w, Float32x4ShuffleW, 480951003) \
288 V(_Float32x4, _mul, Float32x4Mul, 1703784673) \ 288 V(_Float32x4, _mul, Float32x4Mul, 1703784673) \
289 V(_Float32x4, _sub, Float32x4Sub, 1302598822) \ 289 V(_Float32x4, _sub, Float32x4Sub, 1302598822) \
290 V(_Float32x4, _add, Float32x4Add, 182344215) \ 290 V(_Float32x4, _add, Float32x4Add, 182344215) \
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) 491 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp))
492 492
493 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ 493 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \
494 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) 494 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp))
495 #endif // defined(DART_NO_SNAPSHOT). 495 #endif // defined(DART_NO_SNAPSHOT).
496 496
497 497
498 } // namespace dart 498 } // namespace dart
499 499
500 #endif // VM_METHOD_RECOGNIZER_H_ 500 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698