3 ms·
For SIMD types with elements other than Int8, in addition to the pshufb, there's also the cost of computing the pshufb byte indices. For additional context, th
by sunfish 11y ago
For SIMD types with elements other than Int8, in addition to the pshufb, there's also the cost of computing the pshufb byte indices.
For additional context, the current version of SIMD.js is aimed at covering the basics that strike some balance of being fast on most hardware and being useful. It's also just the beginning, and we expect it'll evolve to add many more features, quite likely including pshufb-like functionality.