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

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

Issue 24240020: Cleanup bit casting methods between SIMD types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 V(ByteData_ToEndianInt16, 2) \ 179 V(ByteData_ToEndianInt16, 2) \
180 V(ByteData_ToEndianUint16, 2) \ 180 V(ByteData_ToEndianUint16, 2) \
181 V(ByteData_ToEndianInt32, 2) \ 181 V(ByteData_ToEndianInt32, 2) \
182 V(ByteData_ToEndianUint32, 2) \ 182 V(ByteData_ToEndianUint32, 2) \
183 V(ByteData_ToEndianInt64, 2) \ 183 V(ByteData_ToEndianInt64, 2) \
184 V(ByteData_ToEndianUint64, 2) \ 184 V(ByteData_ToEndianUint64, 2) \
185 V(ByteData_ToEndianFloat32, 2) \ 185 V(ByteData_ToEndianFloat32, 2) \
186 V(ByteData_ToEndianFloat64, 2) \ 186 V(ByteData_ToEndianFloat64, 2) \
187 V(Float32x4_fromDoubles, 5) \ 187 V(Float32x4_fromDoubles, 5) \
188 V(Float32x4_splat, 2) \ 188 V(Float32x4_splat, 2) \
189 V(Float32x4_fromUint32x4bits, 2) \
zra 2013/09/24 00:29:09 B
Cutch 2013/09/24 16:00:05 Done.
189 V(Float32x4_zero, 1) \ 190 V(Float32x4_zero, 1) \
190 V(Float32x4_add, 2) \ 191 V(Float32x4_add, 2) \
191 V(Float32x4_negate, 1) \ 192 V(Float32x4_negate, 1) \
192 V(Float32x4_sub, 2) \ 193 V(Float32x4_sub, 2) \
193 V(Float32x4_mul, 2) \ 194 V(Float32x4_mul, 2) \
194 V(Float32x4_div, 2) \ 195 V(Float32x4_div, 2) \
195 V(Float32x4_cmplt, 2) \ 196 V(Float32x4_cmplt, 2) \
196 V(Float32x4_cmplte, 2) \ 197 V(Float32x4_cmplte, 2) \
197 V(Float32x4_cmpgt, 2) \ 198 V(Float32x4_cmpgt, 2) \
198 V(Float32x4_cmpgte, 2) \ 199 V(Float32x4_cmpgte, 2) \
(...skipping 15 matching lines...) Expand all
214 V(Float32x4_interleaveZWPairs, 2) \ 215 V(Float32x4_interleaveZWPairs, 2) \
215 V(Float32x4_setX, 2) \ 216 V(Float32x4_setX, 2) \
216 V(Float32x4_setY, 2) \ 217 V(Float32x4_setY, 2) \
217 V(Float32x4_setZ, 2) \ 218 V(Float32x4_setZ, 2) \
218 V(Float32x4_setW, 2) \ 219 V(Float32x4_setW, 2) \
219 V(Float32x4_min, 2) \ 220 V(Float32x4_min, 2) \
220 V(Float32x4_max, 2) \ 221 V(Float32x4_max, 2) \
221 V(Float32x4_sqrt, 1) \ 222 V(Float32x4_sqrt, 1) \
222 V(Float32x4_reciprocal, 1) \ 223 V(Float32x4_reciprocal, 1) \
223 V(Float32x4_reciprocalSqrt, 1) \ 224 V(Float32x4_reciprocalSqrt, 1) \
224 V(Float32x4_toUint32x4, 1) \
225 V(Uint32x4_fromInts, 5) \ 225 V(Uint32x4_fromInts, 5) \
226 V(Uint32x4_fromBools, 5) \ 226 V(Uint32x4_fromBools, 5) \
227 V(Uint32x4_fromFloat32x4Bits, 2) \
227 V(Uint32x4_or, 2) \ 228 V(Uint32x4_or, 2) \
228 V(Uint32x4_and, 2) \ 229 V(Uint32x4_and, 2) \
229 V(Uint32x4_xor, 2) \ 230 V(Uint32x4_xor, 2) \
230 V(Uint32x4_add, 2) \ 231 V(Uint32x4_add, 2) \
231 V(Uint32x4_sub, 2) \ 232 V(Uint32x4_sub, 2) \
232 V(Uint32x4_getX, 1) \ 233 V(Uint32x4_getX, 1) \
233 V(Uint32x4_getY, 1) \ 234 V(Uint32x4_getY, 1) \
234 V(Uint32x4_getZ, 1) \ 235 V(Uint32x4_getZ, 1) \
235 V(Uint32x4_getW, 1) \ 236 V(Uint32x4_getW, 1) \
236 V(Uint32x4_setX, 2) \ 237 V(Uint32x4_setX, 2) \
237 V(Uint32x4_setY, 2) \ 238 V(Uint32x4_setY, 2) \
238 V(Uint32x4_setZ, 2) \ 239 V(Uint32x4_setZ, 2) \
239 V(Uint32x4_setW, 2) \ 240 V(Uint32x4_setW, 2) \
240 V(Uint32x4_getSignMask, 1) \ 241 V(Uint32x4_getSignMask, 1) \
241 V(Uint32x4_getFlagX, 1) \ 242 V(Uint32x4_getFlagX, 1) \
242 V(Uint32x4_getFlagY, 1) \ 243 V(Uint32x4_getFlagY, 1) \
243 V(Uint32x4_getFlagZ, 1) \ 244 V(Uint32x4_getFlagZ, 1) \
244 V(Uint32x4_getFlagW, 1) \ 245 V(Uint32x4_getFlagW, 1) \
245 V(Uint32x4_setFlagX, 2) \ 246 V(Uint32x4_setFlagX, 2) \
246 V(Uint32x4_setFlagY, 2) \ 247 V(Uint32x4_setFlagY, 2) \
247 V(Uint32x4_setFlagZ, 2) \ 248 V(Uint32x4_setFlagZ, 2) \
248 V(Uint32x4_setFlagW, 2) \ 249 V(Uint32x4_setFlagW, 2) \
249 V(Uint32x4_select, 3) \ 250 V(Uint32x4_select, 3) \
250 V(Uint32x4_toFloat32x4, 1) \
251 V(isolate_getPortInternal, 0) \ 251 V(isolate_getPortInternal, 0) \
252 V(isolate_spawnFunction, 2) \ 252 V(isolate_spawnFunction, 2) \
253 V(isolate_spawnUri, 1) \ 253 V(isolate_spawnUri, 1) \
254 V(Mirrors_isLocalPort, 1) \ 254 V(Mirrors_isLocalPort, 1) \
255 V(Mirrors_makeLocalClassMirror, 1) \ 255 V(Mirrors_makeLocalClassMirror, 1) \
256 V(Mirrors_makeLocalTypeMirror, 1) \ 256 V(Mirrors_makeLocalTypeMirror, 1) \
257 V(Mirrors_makeLocalMirrorSystem, 0) \ 257 V(Mirrors_makeLocalMirrorSystem, 0) \
258 V(MirrorReference_equals, 2) \ 258 V(MirrorReference_equals, 2) \
259 V(InstanceMirror_identityHash, 1) \ 259 V(InstanceMirror_identityHash, 1) \
260 V(InstanceMirror_invoke, 5) \ 260 V(InstanceMirror_invoke, 5) \
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 static void DN_##name(Dart_NativeArguments args); 312 static void DN_##name(Dart_NativeArguments args);
313 313
314 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 314 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
315 315
316 #undef DECLARE_BOOTSTRAP_NATIVE 316 #undef DECLARE_BOOTSTRAP_NATIVE
317 }; 317 };
318 318
319 } // namespace dart 319 } // namespace dart
320 320
321 #endif // VM_BOOTSTRAP_NATIVES_H_ 321 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698