i16x8.extract_lane_s
i16x8.extract_lane_s SIMD vector operation.
simd0xFD 0x18
Syntax
i16x8.extract_lane_s
Stack Effect
SIMD lane operands -> SIMD resultOpcode
- Hex
0xFD 0x18- Decimal
253 24- Bytes
[0xfd, 0x18]- Prefix
0xFDSIMD extension space- Encoding
0xFD 0x18 <memarg:memarg> <laneidx:lane-index>- Immediates
memarg:memarg— alignment hint and offset (two u32 LEB128 values)laneidx:lane-index— vector lane index byte
- 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
;; i16x8.extract_lane_s example
)