chakra-core / chakra-core/ChakraCore
WASM SIMD - Single instruction shuffle
Open
CodeGen
Performance
WebAssembly
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Current implementation of wasm SIMD shuffle produces a scalar loop over the bytes of the vector. That is the leftover of the situation when there were multiple shuffles with different lane shuffles - byte shuffle was considered lower priority than other kinds.
To solve this Chakra would need to emit byteshuffle instructions (`pshufb` on x86).
Contributor guide
Assessment
This issue has not been assessed yet.