Skip to content

WASM SIMD - Single instruction shuffle #6396

@ppenzin

Description

@ppenzin

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions