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

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

Issue 2249853002: Add flow-graph generated SIMD array intrinsics. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | tests/lib/typed_data/float32x4_list_test.dart » ('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_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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 V(Int32x4, get:signMask, Int32x4GetSignMask, Dynamic, 0x2c1ec9e5) \ 106 V(Int32x4, get:signMask, Int32x4GetSignMask, Dynamic, 0x2c1ec9e5) \
107 V(Int32x4, shuffle, Int32x4Shuffle, Int32x4, 0x20bc0b16) \ 107 V(Int32x4, shuffle, Int32x4Shuffle, Int32x4, 0x20bc0b16) \
108 V(Int32x4, shuffleMix, Int32x4ShuffleMix, Int32x4, 0x5c7056e1) \ 108 V(Int32x4, shuffleMix, Int32x4ShuffleMix, Int32x4, 0x5c7056e1) \
109 V(Int32x4, select, Int32x4Select, Float32x4, 0x518ee337) \ 109 V(Int32x4, select, Int32x4Select, Float32x4, 0x518ee337) \
110 V(Int32x4, withFlagX, Int32x4WithFlagX, Int32x4, 0x0ef58fcf) \ 110 V(Int32x4, withFlagX, Int32x4WithFlagX, Int32x4, 0x0ef58fcf) \
111 V(Int32x4, withFlagY, Int32x4WithFlagY, Int32x4, 0x6485a9c4) \ 111 V(Int32x4, withFlagY, Int32x4WithFlagY, Int32x4, 0x6485a9c4) \
112 V(Int32x4, withFlagZ, Int32x4WithFlagZ, Int32x4, 0x267acdfa) \ 112 V(Int32x4, withFlagZ, Int32x4WithFlagZ, Int32x4, 0x267acdfa) \
113 V(Int32x4, withFlagW, Int32x4WithFlagW, Int32x4, 0x345ac675) \ 113 V(Int32x4, withFlagW, Int32x4WithFlagW, Int32x4, 0x345ac675) \
114 V(Int64List, [], Int64ArrayGetIndexed, Dynamic, 0x0c0c939a) \ 114 V(Int64List, [], Int64ArrayGetIndexed, Dynamic, 0x0c0c939a) \
115 V(Int64List, []=, Int64ArraySetIndexed, Dynamic, 0x3714d004) \ 115 V(Int64List, []=, Int64ArraySetIndexed, Dynamic, 0x3714d004) \
116 V(Float32x4List, [], Float32x4ArrayGetIndexed, Float32x4, 0x01c7017b) \
117 V(Float32x4List, []=, Float32x4ArraySetIndexed, Dynamic, 0x56e843aa) \
118 V(Int32x4List, [], Int32x4ArrayGetIndexed, Int32x4, 0x08353f8d) \
119 V(Int32x4List, []=, Int32x4ArraySetIndexed, Dynamic, 0x1d9a47a5) \
120 V(Float64x2List, [], Float64x2ArrayGetIndexed, Float64x2, 0x669b1498) \
121 V(Float64x2List, []=, Float64x2ArraySetIndexed, Dynamic, 0x76da6ffe) \
122 V(_Bigint, get:_neg, Bigint_getNeg, Bool, 0x7bf17a57) \ 116 V(_Bigint, get:_neg, Bigint_getNeg, Bool, 0x7bf17a57) \
123 V(_Bigint, get:_used, Bigint_getUsed, Smi, 0x55041013) \ 117 V(_Bigint, get:_used, Bigint_getUsed, Smi, 0x55041013) \
124 V(_Bigint, get:_digits, Bigint_getDigits, TypedDataUint32Array, 0x46a6c1b3) \ 118 V(_Bigint, get:_digits, Bigint_getDigits, TypedDataUint32Array, 0x46a6c1b3) \
125 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, Dynamic, 0x7d6bb76b) \ 119 V(_HashVMBase, get:_index, LinkedHashMap_getIndex, Dynamic, 0x7d6bb76b) \
126 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, Dynamic, 0x4beb13f2) \ 120 V(_HashVMBase, set:_index, LinkedHashMap_setIndex, Dynamic, 0x4beb13f2) \
127 V(_HashVMBase, get:_data, LinkedHashMap_getData, Array, 0x4bf5ccb3) \ 121 V(_HashVMBase, get:_data, LinkedHashMap_getData, Array, 0x4bf5ccb3) \
128 V(_HashVMBase, set:_data, LinkedHashMap_setData, Dynamic, 0x6007556d) \ 122 V(_HashVMBase, set:_data, LinkedHashMap_setData, Dynamic, 0x6007556d) \
129 V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, Smi, 0x15e70845) \ 123 V(_HashVMBase, get:_usedData, LinkedHashMap_getUsedData, Smi, 0x15e70845) \
130 V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, Dynamic, 0x3e8c6edc)\ 124 V(_HashVMBase, set:_usedData, LinkedHashMap_setUsedData, Dynamic, 0x3e8c6edc)\
131 V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, Smi, 0x35c5ac00) \ 125 V(_HashVMBase, get:_hashMask, LinkedHashMap_getHashMask, Smi, 0x35c5ac00) \
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 V(Uint16List, [], Uint16ArrayGetIndexed, Smi, 0x3ececa2f) \ 277 V(Uint16List, [], Uint16ArrayGetIndexed, Smi, 0x3ececa2f) \
284 V(Uint16List, []=, Uint16ArraySetIndexed, Dynamic, 0x5c3a0bb9) \ 278 V(Uint16List, []=, Uint16ArraySetIndexed, Dynamic, 0x5c3a0bb9) \
285 V(Int32List, [], Int32ArrayGetIndexed, Dynamic, 0x262eef09) \ 279 V(Int32List, [], Int32ArrayGetIndexed, Dynamic, 0x262eef09) \
286 V(Int32List, []=, Int32ArraySetIndexed, Dynamic, 0x1b05b471) \ 280 V(Int32List, []=, Int32ArraySetIndexed, Dynamic, 0x1b05b471) \
287 V(Uint32List, [], Uint32ArrayGetIndexed, Dynamic, 0x6040f7fb) \ 281 V(Uint32List, [], Uint32ArrayGetIndexed, Dynamic, 0x6040f7fb) \
288 V(Uint32List, []=, Uint32ArraySetIndexed, Dynamic, 0x3a4e1119) \ 282 V(Uint32List, []=, Uint32ArraySetIndexed, Dynamic, 0x3a4e1119) \
289 V(Float64List, [], Float64ArrayGetIndexed, Double, 0x7a27098d) \ 283 V(Float64List, [], Float64ArrayGetIndexed, Double, 0x7a27098d) \
290 V(Float64List, []=, Float64ArraySetIndexed, Dynamic, 0x139b2465) \ 284 V(Float64List, []=, Float64ArraySetIndexed, Dynamic, 0x139b2465) \
291 V(Float32List, [], Float32ArrayGetIndexed, Double, 0x5686528f) \ 285 V(Float32List, [], Float32ArrayGetIndexed, Double, 0x5686528f) \
292 V(Float32List, []=, Float32ArraySetIndexed, Dynamic, 0x1b0d90df) \ 286 V(Float32List, []=, Float32ArraySetIndexed, Dynamic, 0x1b0d90df) \
287 V(Float32x4List, [], Float32x4ArrayGetIndexed, Float32x4, 0x01c7017b) \
288 V(Float32x4List, []=, Float32x4ArraySetIndexed, Dynamic, 0x56e843aa) \
289 V(Int32x4List, [], Int32x4ArrayGetIndexed, Int32x4, 0x08353f8d) \
290 V(Int32x4List, []=, Int32x4ArraySetIndexed, Dynamic, 0x1d9a47a5) \
291 V(Float64x2List, [], Float64x2ArrayGetIndexed, Float64x2, 0x669b1498) \
292 V(Float64x2List, []=, Float64x2ArraySetIndexed, Dynamic, 0x76da6ffe) \
293 V(_TypedList, get:length, TypedDataLength, Smi, 0x2090dc1a) \ 293 V(_TypedList, get:length, TypedDataLength, Smi, 0x2090dc1a) \
294 V(Float32x4, get:x, Float32x4ShuffleX, Double, 0x63d0c13f) \ 294 V(Float32x4, get:x, Float32x4ShuffleX, Double, 0x63d0c13f) \
295 V(Float32x4, get:y, Float32x4ShuffleY, Double, 0x20343b1b) \ 295 V(Float32x4, get:y, Float32x4ShuffleY, Double, 0x20343b1b) \
296 V(Float32x4, get:z, Float32x4ShuffleZ, Double, 0x13181dba) \ 296 V(Float32x4, get:z, Float32x4ShuffleZ, Double, 0x13181dba) \
297 V(Float32x4, get:w, Float32x4ShuffleW, Double, 0x69895020) \ 297 V(Float32x4, get:w, Float32x4ShuffleW, Double, 0x69895020) \
298 V(Float32x4, _mul, Float32x4Mul, Float32x4, 0x028d3146) \ 298 V(Float32x4, _mul, Float32x4Mul, Float32x4, 0x028d3146) \
299 V(Float32x4, _sub, Float32x4Sub, Float32x4, 0x062f78f7) \ 299 V(Float32x4, _sub, Float32x4Sub, Float32x4, 0x062f78f7) \
300 V(Float32x4, _add, Float32x4Add, Float32x4, 0x509f9006) \ 300 V(Float32x4, _add, Float32x4Add, Float32x4, 0x509f9006) \
301 301
302 #define GRAPH_CORE_INTRINSICS_LIST(V) \ 302 #define GRAPH_CORE_INTRINSICS_LIST(V) \
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 // Class that recognizes factories and returns corresponding result cid. 569 // Class that recognizes factories and returns corresponding result cid.
570 class FactoryRecognizer : public AllStatic { 570 class FactoryRecognizer : public AllStatic {
571 public: 571 public:
572 // Return kDynamicCid if factory is not recognized. 572 // Return kDynamicCid if factory is not recognized.
573 static intptr_t ResultCid(const Function& factory); 573 static intptr_t ResultCid(const Function& factory);
574 }; 574 };
575 575
576 } // namespace dart 576 } // namespace dart
577 577
578 #endif // VM_METHOD_RECOGNIZER_H_ 578 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.cc ('k') | tests/lib/typed_data/float32x4_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698