i8x16.shuffle
i8x16.shuffle SIMD vector operation.
simd0xFD 0x0D
Syntax
i8x16.shuffle
Stack Effect
SIMD lane operands -> SIMD resultOpcode
- Hex
0xFD 0x0D- Decimal
253 13- Bytes
[0xfd, 0x0d]- Prefix
0xFDSIMD extension space- Encoding
0xFD 0x0D <lanes:v128-bytes>- Immediates
lanes:v128-bytes— 16 lane indices, one byte each
- Category
- simd
- Proposal
- simd
Browser Support
Feature-detect runtime support before executing examples.
Validation Rules
- Operands and result types must match the instruction signature.
- The instruction must appear in a valid structured control context.
Common Mistakes
- Using the instruction with the wrong operand type.
- Forgetting that WAT validation is stack-typed.
(func $example
;; i8x16.shuffle example
)