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

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

Issue 12534006: Port SIMD types from dart:scalarlist to dart:typeddata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge fixes Created 7 years, 9 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/constants_x64.h ('k') | runtime/vm/intrinsifier_ia32.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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 V(_Uint8Array, _new, TypedData_Uint8Array_new, 997951645) \ 123 V(_Uint8Array, _new, TypedData_Uint8Array_new, 997951645) \
124 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 1025045044) \ 124 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 1025045044) \
125 V(_Int16Array, _new, TypedData_Int16Array_new, 1064563368) \ 125 V(_Int16Array, _new, TypedData_Int16Array_new, 1064563368) \
126 V(_Uint16Array, _new, TypedData_Uint16Array_new, 110927177) \ 126 V(_Uint16Array, _new, TypedData_Uint16Array_new, 110927177) \
127 V(_Int32Array, _new, TypedData_Int32Array_new, 770802406) \ 127 V(_Int32Array, _new, TypedData_Int32Array_new, 770802406) \
128 V(_Uint32Array, _new, TypedData_Uint32Array_new, 856841876) \ 128 V(_Uint32Array, _new, TypedData_Uint32Array_new, 856841876) \
129 V(_Int64Array, _new, TypedData_Int64Array_new, 941769528) \ 129 V(_Int64Array, _new, TypedData_Int64Array_new, 941769528) \
130 V(_Uint64Array, _new, TypedData_Uint64Array_new, 977566635) \ 130 V(_Uint64Array, _new, TypedData_Uint64Array_new, 977566635) \
131 V(_Float32Array, _new, TypedData_Float32Array_new, 1053133615) \ 131 V(_Float32Array, _new, TypedData_Float32Array_new, 1053133615) \
132 V(_Float64Array, _new, TypedData_Float64Array_new, 936673303) \ 132 V(_Float64Array, _new, TypedData_Float64Array_new, 936673303) \
133 V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 212088644) \
133 V(_Int8Array, ., TypedData_Int8Array_factory, 632939448) \ 134 V(_Int8Array, ., TypedData_Int8Array_factory, 632939448) \
134 V(_Uint8Array, ., TypedData_Uint8Array_factory, 1942390430) \ 135 V(_Uint8Array, ., TypedData_Uint8Array_factory, 1942390430) \
135 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1447100174) \ 136 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1447100174) \
136 V(_Int16Array, ., TypedData_Int16Array_factory, 1997238698) \ 137 V(_Int16Array, ., TypedData_Int16Array_factory, 1997238698) \
137 V(_Uint16Array, ., TypedData_Uint16Array_factory, 672422545) \ 138 V(_Uint16Array, ., TypedData_Uint16Array_factory, 672422545) \
138 V(_Int32Array, ., TypedData_Int32Array_factory, 504367176) \ 139 V(_Int32Array, ., TypedData_Int32Array_factory, 504367176) \
139 V(_Uint32Array, ., TypedData_Uint32Array_factory, 31896861) \ 140 V(_Uint32Array, ., TypedData_Uint32Array_factory, 31896861) \
140 V(_Int64Array, ., TypedData_Int64Array_factory, 702290418) \ 141 V(_Int64Array, ., TypedData_Int64Array_factory, 702290418) \
141 V(_Uint64Array, ., TypedData_Uint64Array_factory, 59820857) \ 142 V(_Uint64Array, ., TypedData_Uint64Array_factory, 59820857) \
142 V(_Float32Array, ., TypedData_Float32Array_factory, 1040427868) \ 143 V(_Float32Array, ., TypedData_Float32Array_factory, 1040427868) \
143 V(_Float64Array, ., TypedData_Float64Array_factory, 969149770) \ 144 V(_Float64Array, ., TypedData_Float64Array_factory, 969149770) \
145 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 175242544) \
144 146
145 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and 147 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and
146 // _FixedSizeArrayIterator, moveNext. 148 // _FixedSizeArrayIterator, moveNext.
147 149
148 // Forward declarations. 150 // Forward declarations.
149 class Assembler; 151 class Assembler;
150 class Function; 152 class Function;
151 153
152 class Intrinsifier : public AllStatic { 154 class Intrinsifier : public AllStatic {
153 public: 155 public:
(...skipping 12 matching lines...) Expand all
166 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 168 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
167 SCALARLIST_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 169 SCALARLIST_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
168 TYPEDDATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 170 TYPEDDATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
169 171
170 #undef DECLARE_FUNCTION 172 #undef DECLARE_FUNCTION
171 }; 173 };
172 174
173 } // namespace dart 175 } // namespace dart
174 176
175 #endif // VM_INTRINSIFIER_H_ 177 #endif // VM_INTRINSIFIER_H_
OLDNEW
« no previous file with comments | « runtime/vm/constants_x64.h ('k') | runtime/vm/intrinsifier_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698