chakra-core / chakra-core/ChakraCore

WASM SIMD - Single instruction shuffle

Open
#6,396 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.