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