f64x2.extract_lane
f64x2.extract_lane SIMD vector operation.
simd0xFD 0x21
Syntax
f64x2.extract_lane
Stack Effect
SIMD lane operands -> SIMD resultOpcode
- Hex
0xFD 0x21- Decimal
253 33- Bytes
[0xfd, 0x21]- Prefix
0xFDSIMD extension space- Encoding
0xFD 0x21 <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
;; f64x2.extract_lane example
)