3 ms·
It's based on SIMD support in Dart, which has been available for a while now and does supports NEON. https://www.dartlang.org/articles/simd/ https://www.dartla
by spankalee 12y ago
It's based on SIMD support in Dart, which has been available for a while now and does supports NEON.
https://www.dartlang.org/articles/simd/ https://www.dartlang.org/articles/simd/
The primitives are pretty generic, just a few new vector types based on typed arrays. Operations on those types are supported on CPUs without a SIMD unit, they're just slower, but not any slower than coding with non-SIMD operations.
- mzs 12y agoWhat about 8 and 16 bit ints? How about signed vs unsigned? Or what about pixel like data that clamps instead of overflows? What about 64-bit IEEE? What id the SIMD unit is 64 bits wide? Or 256? It just seems so not future and varying implementation proof.