extend_low_i16x8_s: Wasm SIMD conversion instruction
The extend_low_i16x8_s SIMD conversion instruction converts lanes 0–3 of a signed v128 i16x8 value interpretation into an i32x4 value interpretation.
Try it
(module
(import "console" "log" (func $log (param i32)))
(func $main
v128.const i16x8 200 210 220 230 240 250 260 270
i32x4.extend_low_i16x8_s
i32x4.extract_lane 0
call $log ;; log the result
)
(start $main)
)
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });
Syntax
i32x4.extend_low_i16x8_s
i32x4.extend_low_i16x8_s-
The
i32x4.extend_low_i16x8_sinstruction.
Type
[input] -> [output]
Binary encoding
| Instruction | Binary format | Example text => binary |
|---|---|---|
i32x4.extend_low_i16x8_s |
0xfd 167:u32 |
i32x4.extend_low_i16x8_s => 0xfd 0xa7 0x01 |