| OLD | NEW |
| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 V(Float32x4_cmpnequal, 2) \ | 201 V(Float32x4_cmpnequal, 2) \ |
| 202 V(Float32x4_scale, 2) \ | 202 V(Float32x4_scale, 2) \ |
| 203 V(Float32x4_abs, 1) \ | 203 V(Float32x4_abs, 1) \ |
| 204 V(Float32x4_clamp, 3) \ | 204 V(Float32x4_clamp, 3) \ |
| 205 V(Float32x4_getX, 1) \ | 205 V(Float32x4_getX, 1) \ |
| 206 V(Float32x4_getY, 1) \ | 206 V(Float32x4_getY, 1) \ |
| 207 V(Float32x4_getZ, 1) \ | 207 V(Float32x4_getZ, 1) \ |
| 208 V(Float32x4_getW, 1) \ | 208 V(Float32x4_getW, 1) \ |
| 209 V(Float32x4_getSignMask, 1) \ | 209 V(Float32x4_getSignMask, 1) \ |
| 210 V(Float32x4_shuffle, 2) \ | 210 V(Float32x4_shuffle, 2) \ |
| 211 V(Float32x4_withZWInXY, 2) \ | 211 V(Float32x4_shuffleMix, 3) \ |
| 212 V(Float32x4_interleaveXY, 2) \ | |
| 213 V(Float32x4_interleaveZW, 2) \ | |
| 214 V(Float32x4_interleaveXYPairs, 2) \ | |
| 215 V(Float32x4_interleaveZWPairs, 2) \ | |
| 216 V(Float32x4_setX, 2) \ | 212 V(Float32x4_setX, 2) \ |
| 217 V(Float32x4_setY, 2) \ | 213 V(Float32x4_setY, 2) \ |
| 218 V(Float32x4_setZ, 2) \ | 214 V(Float32x4_setZ, 2) \ |
| 219 V(Float32x4_setW, 2) \ | 215 V(Float32x4_setW, 2) \ |
| 220 V(Float32x4_min, 2) \ | 216 V(Float32x4_min, 2) \ |
| 221 V(Float32x4_max, 2) \ | 217 V(Float32x4_max, 2) \ |
| 222 V(Float32x4_sqrt, 1) \ | 218 V(Float32x4_sqrt, 1) \ |
| 223 V(Float32x4_reciprocal, 1) \ | 219 V(Float32x4_reciprocal, 1) \ |
| 224 V(Float32x4_reciprocalSqrt, 1) \ | 220 V(Float32x4_reciprocalSqrt, 1) \ |
| 225 V(Uint32x4_fromInts, 5) \ | 221 V(Uint32x4_fromInts, 5) \ |
| 226 V(Uint32x4_fromBools, 5) \ | 222 V(Uint32x4_fromBools, 5) \ |
| 227 V(Uint32x4_fromFloat32x4Bits, 2) \ | 223 V(Uint32x4_fromFloat32x4Bits, 2) \ |
| 228 V(Uint32x4_or, 2) \ | 224 V(Uint32x4_or, 2) \ |
| 229 V(Uint32x4_and, 2) \ | 225 V(Uint32x4_and, 2) \ |
| 230 V(Uint32x4_xor, 2) \ | 226 V(Uint32x4_xor, 2) \ |
| 231 V(Uint32x4_add, 2) \ | 227 V(Uint32x4_add, 2) \ |
| 232 V(Uint32x4_sub, 2) \ | 228 V(Uint32x4_sub, 2) \ |
| 233 V(Uint32x4_getX, 1) \ | 229 V(Uint32x4_getX, 1) \ |
| 234 V(Uint32x4_getY, 1) \ | 230 V(Uint32x4_getY, 1) \ |
| 235 V(Uint32x4_getZ, 1) \ | 231 V(Uint32x4_getZ, 1) \ |
| 236 V(Uint32x4_getW, 1) \ | 232 V(Uint32x4_getW, 1) \ |
| 237 V(Uint32x4_setX, 2) \ | 233 V(Uint32x4_setX, 2) \ |
| 238 V(Uint32x4_setY, 2) \ | 234 V(Uint32x4_setY, 2) \ |
| 239 V(Uint32x4_setZ, 2) \ | 235 V(Uint32x4_setZ, 2) \ |
| 240 V(Uint32x4_setW, 2) \ | 236 V(Uint32x4_setW, 2) \ |
| 241 V(Uint32x4_getSignMask, 1) \ | 237 V(Uint32x4_getSignMask, 1) \ |
| 238 V(Uint32x4_shuffle, 2) \ |
| 239 V(Uint32x4_shuffleMix, 3) \ |
| 242 V(Uint32x4_getFlagX, 1) \ | 240 V(Uint32x4_getFlagX, 1) \ |
| 243 V(Uint32x4_getFlagY, 1) \ | 241 V(Uint32x4_getFlagY, 1) \ |
| 244 V(Uint32x4_getFlagZ, 1) \ | 242 V(Uint32x4_getFlagZ, 1) \ |
| 245 V(Uint32x4_getFlagW, 1) \ | 243 V(Uint32x4_getFlagW, 1) \ |
| 246 V(Uint32x4_setFlagX, 2) \ | 244 V(Uint32x4_setFlagX, 2) \ |
| 247 V(Uint32x4_setFlagY, 2) \ | 245 V(Uint32x4_setFlagY, 2) \ |
| 248 V(Uint32x4_setFlagZ, 2) \ | 246 V(Uint32x4_setFlagZ, 2) \ |
| 249 V(Uint32x4_setFlagW, 2) \ | 247 V(Uint32x4_setFlagW, 2) \ |
| 250 V(Uint32x4_select, 3) \ | 248 V(Uint32x4_select, 3) \ |
| 251 V(Isolate_mainPort, 0) \ | 249 V(Isolate_mainPort, 0) \ |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 static void DN_##name(Dart_NativeArguments args); | 319 static void DN_##name(Dart_NativeArguments args); |
| 322 | 320 |
| 323 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 321 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 324 | 322 |
| 325 #undef DECLARE_BOOTSTRAP_NATIVE | 323 #undef DECLARE_BOOTSTRAP_NATIVE |
| 326 }; | 324 }; |
| 327 | 325 |
| 328 } // namespace dart | 326 } // namespace dart |
| 329 | 327 |
| 330 #endif // VM_BOOTSTRAP_NATIVES_H_ | 328 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |