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

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

Issue 148043003: Add Float64x2, Float64x2List, etc... with runtime and dart2js implementations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
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 4
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 V(TypedData_Int16Array_new, 1) \ 140 V(TypedData_Int16Array_new, 1) \
141 V(TypedData_Uint16Array_new, 1) \ 141 V(TypedData_Uint16Array_new, 1) \
142 V(TypedData_Int32Array_new, 1) \ 142 V(TypedData_Int32Array_new, 1) \
143 V(TypedData_Uint32Array_new, 1) \ 143 V(TypedData_Uint32Array_new, 1) \
144 V(TypedData_Int64Array_new, 1) \ 144 V(TypedData_Int64Array_new, 1) \
145 V(TypedData_Uint64Array_new, 1) \ 145 V(TypedData_Uint64Array_new, 1) \
146 V(TypedData_Float32Array_new, 1) \ 146 V(TypedData_Float32Array_new, 1) \
147 V(TypedData_Float64Array_new, 1) \ 147 V(TypedData_Float64Array_new, 1) \
148 V(TypedData_Float32x4Array_new, 1) \ 148 V(TypedData_Float32x4Array_new, 1) \
149 V(TypedData_Int32x4Array_new, 1) \ 149 V(TypedData_Int32x4Array_new, 1) \
150 V(TypedData_Float64x2Array_new, 1) \
150 V(ExternalTypedData_Int8Array_new, 1) \ 151 V(ExternalTypedData_Int8Array_new, 1) \
151 V(ExternalTypedData_Uint8Array_new, 1) \ 152 V(ExternalTypedData_Uint8Array_new, 1) \
152 V(ExternalTypedData_Uint8ClampedArray_new, 1) \ 153 V(ExternalTypedData_Uint8ClampedArray_new, 1) \
153 V(ExternalTypedData_Int16Array_new, 1) \ 154 V(ExternalTypedData_Int16Array_new, 1) \
154 V(ExternalTypedData_Uint16Array_new, 1) \ 155 V(ExternalTypedData_Uint16Array_new, 1) \
155 V(ExternalTypedData_Int32Array_new, 1) \ 156 V(ExternalTypedData_Int32Array_new, 1) \
156 V(ExternalTypedData_Uint32Array_new, 1) \ 157 V(ExternalTypedData_Uint32Array_new, 1) \
157 V(ExternalTypedData_Int64Array_new, 1) \ 158 V(ExternalTypedData_Int64Array_new, 1) \
158 V(ExternalTypedData_Uint64Array_new, 1) \ 159 V(ExternalTypedData_Uint64Array_new, 1) \
159 V(ExternalTypedData_Float32Array_new, 1) \ 160 V(ExternalTypedData_Float32Array_new, 1) \
160 V(ExternalTypedData_Float64Array_new, 1) \ 161 V(ExternalTypedData_Float64Array_new, 1) \
161 V(ExternalTypedData_Float32x4Array_new, 1) \ 162 V(ExternalTypedData_Float32x4Array_new, 1) \
162 V(ExternalTypedData_Int32x4Array_new, 1) \ 163 V(ExternalTypedData_Int32x4Array_new, 1) \
164 V(ExternalTypedData_Float64x2Array_new, 1) \
163 V(TypedData_length, 1) \ 165 V(TypedData_length, 1) \
164 V(TypedData_setRange, 5) \ 166 V(TypedData_setRange, 5) \
165 V(TypedData_GetInt8, 2) \ 167 V(TypedData_GetInt8, 2) \
166 V(TypedData_SetInt8, 3) \ 168 V(TypedData_SetInt8, 3) \
167 V(TypedData_GetUint8, 2) \ 169 V(TypedData_GetUint8, 2) \
168 V(TypedData_SetUint8, 3) \ 170 V(TypedData_SetUint8, 3) \
169 V(TypedData_GetInt16, 2) \ 171 V(TypedData_GetInt16, 2) \
170 V(TypedData_SetInt16, 3) \ 172 V(TypedData_SetInt16, 3) \
171 V(TypedData_GetUint16, 2) \ 173 V(TypedData_GetUint16, 2) \
172 V(TypedData_SetUint16, 3) \ 174 V(TypedData_SetUint16, 3) \
173 V(TypedData_GetInt32, 2) \ 175 V(TypedData_GetInt32, 2) \
174 V(TypedData_SetInt32, 3) \ 176 V(TypedData_SetInt32, 3) \
175 V(TypedData_GetUint32, 2) \ 177 V(TypedData_GetUint32, 2) \
176 V(TypedData_SetUint32, 3) \ 178 V(TypedData_SetUint32, 3) \
177 V(TypedData_GetInt64, 2) \ 179 V(TypedData_GetInt64, 2) \
178 V(TypedData_SetInt64, 3) \ 180 V(TypedData_SetInt64, 3) \
179 V(TypedData_GetUint64, 2) \ 181 V(TypedData_GetUint64, 2) \
180 V(TypedData_SetUint64, 3) \ 182 V(TypedData_SetUint64, 3) \
181 V(TypedData_GetFloat32, 2) \ 183 V(TypedData_GetFloat32, 2) \
182 V(TypedData_SetFloat32, 3) \ 184 V(TypedData_SetFloat32, 3) \
183 V(TypedData_GetFloat64, 2) \ 185 V(TypedData_GetFloat64, 2) \
184 V(TypedData_SetFloat64, 3) \ 186 V(TypedData_SetFloat64, 3) \
185 V(TypedData_GetFloat32x4, 2) \ 187 V(TypedData_GetFloat32x4, 2) \
186 V(TypedData_SetFloat32x4, 3) \ 188 V(TypedData_SetFloat32x4, 3) \
187 V(TypedData_GetInt32x4, 2) \ 189 V(TypedData_GetInt32x4, 2) \
188 V(TypedData_SetInt32x4, 3) \ 190 V(TypedData_SetInt32x4, 3) \
191 V(TypedData_GetFloat64x2, 2) \
192 V(TypedData_SetFloat64x2, 3) \
189 V(ByteData_ToEndianInt16, 2) \ 193 V(ByteData_ToEndianInt16, 2) \
190 V(ByteData_ToEndianUint16, 2) \ 194 V(ByteData_ToEndianUint16, 2) \
191 V(ByteData_ToEndianInt32, 2) \ 195 V(ByteData_ToEndianInt32, 2) \
192 V(ByteData_ToEndianUint32, 2) \ 196 V(ByteData_ToEndianUint32, 2) \
193 V(ByteData_ToEndianInt64, 2) \ 197 V(ByteData_ToEndianInt64, 2) \
194 V(ByteData_ToEndianUint64, 2) \ 198 V(ByteData_ToEndianUint64, 2) \
195 V(ByteData_ToEndianFloat32, 2) \ 199 V(ByteData_ToEndianFloat32, 2) \
196 V(ByteData_ToEndianFloat64, 2) \ 200 V(ByteData_ToEndianFloat64, 2) \
197 V(Float32x4_fromDoubles, 5) \ 201 V(Float32x4_fromDoubles, 5) \
198 V(Float32x4_splat, 2) \ 202 V(Float32x4_splat, 2) \
199 V(Float32x4_fromInt32x4Bits, 2) \ 203 V(Float32x4_fromInt32x4Bits, 2) \
204 V(Float32x4_fromFloat64x2, 2) \
200 V(Float32x4_zero, 1) \ 205 V(Float32x4_zero, 1) \
201 V(Float32x4_add, 2) \ 206 V(Float32x4_add, 2) \
202 V(Float32x4_negate, 1) \ 207 V(Float32x4_negate, 1) \
203 V(Float32x4_sub, 2) \ 208 V(Float32x4_sub, 2) \
204 V(Float32x4_mul, 2) \ 209 V(Float32x4_mul, 2) \
205 V(Float32x4_div, 2) \ 210 V(Float32x4_div, 2) \
206 V(Float32x4_cmplt, 2) \ 211 V(Float32x4_cmplt, 2) \
207 V(Float32x4_cmplte, 2) \ 212 V(Float32x4_cmplte, 2) \
208 V(Float32x4_cmpgt, 2) \ 213 V(Float32x4_cmpgt, 2) \
209 V(Float32x4_cmpgte, 2) \ 214 V(Float32x4_cmpgte, 2) \
(...skipping 11 matching lines...) Expand all
221 V(Float32x4_shuffleMix, 3) \ 226 V(Float32x4_shuffleMix, 3) \
222 V(Float32x4_setX, 2) \ 227 V(Float32x4_setX, 2) \
223 V(Float32x4_setY, 2) \ 228 V(Float32x4_setY, 2) \
224 V(Float32x4_setZ, 2) \ 229 V(Float32x4_setZ, 2) \
225 V(Float32x4_setW, 2) \ 230 V(Float32x4_setW, 2) \
226 V(Float32x4_min, 2) \ 231 V(Float32x4_min, 2) \
227 V(Float32x4_max, 2) \ 232 V(Float32x4_max, 2) \
228 V(Float32x4_sqrt, 1) \ 233 V(Float32x4_sqrt, 1) \
229 V(Float32x4_reciprocal, 1) \ 234 V(Float32x4_reciprocal, 1) \
230 V(Float32x4_reciprocalSqrt, 1) \ 235 V(Float32x4_reciprocalSqrt, 1) \
236 V(Float64x2_fromDoubles, 3) \
237 V(Float64x2_splat, 2) \
238 V(Float64x2_zero, 1) \
239 V(Float64x2_fromFloat32x4, 2) \
240 V(Float64x2_add, 2) \
241 V(Float64x2_negate, 1) \
242 V(Float64x2_sub, 2) \
243 V(Float64x2_mul, 2) \
244 V(Float64x2_div, 2) \
245 V(Float64x2_scale, 2) \
246 V(Float64x2_abs, 1) \
247 V(Float64x2_clamp, 3) \
248 V(Float64x2_getX, 1) \
249 V(Float64x2_getY, 1) \
250 V(Float64x2_getSignMask, 1) \
251 V(Float64x2_setX, 2) \
252 V(Float64x2_setY, 2) \
253 V(Float64x2_min, 2) \
254 V(Float64x2_max, 2) \
255 V(Float64x2_sqrt, 1) \
231 V(Int32x4_fromInts, 5) \ 256 V(Int32x4_fromInts, 5) \
232 V(Int32x4_fromBools, 5) \ 257 V(Int32x4_fromBools, 5) \
233 V(Int32x4_fromFloat32x4Bits, 2) \ 258 V(Int32x4_fromFloat32x4Bits, 2) \
234 V(Int32x4_or, 2) \ 259 V(Int32x4_or, 2) \
235 V(Int32x4_and, 2) \ 260 V(Int32x4_and, 2) \
236 V(Int32x4_xor, 2) \ 261 V(Int32x4_xor, 2) \
237 V(Int32x4_add, 2) \ 262 V(Int32x4_add, 2) \
238 V(Int32x4_sub, 2) \ 263 V(Int32x4_sub, 2) \
239 V(Int32x4_getX, 1) \ 264 V(Int32x4_getX, 1) \
240 V(Int32x4_getY, 1) \ 265 V(Int32x4_getY, 1) \
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 static void DN_##name(Dart_NativeArguments args); 352 static void DN_##name(Dart_NativeArguments args);
328 353
329 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 354 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
330 355
331 #undef DECLARE_BOOTSTRAP_NATIVE 356 #undef DECLARE_BOOTSTRAP_NATIVE
332 }; 357 };
333 358
334 } // namespace dart 359 } // namespace dart
335 360
336 #endif // VM_BOOTSTRAP_NATIVES_H_ 361 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698