The extend_high_i32x4_s SIMD conversion instruction converts lanes 2–3 of a signed v128 i32x4 value interpretation into an i64x2 value interpretation.
(module
(import "console" "log" (func $log (param i64)))
(func $main
v128.const i32x4 2090 2091 2092 2093
i64x2.extend_high_i32x4_s
i64x2.extract_lane 0
call $log ;; log the result
)
(start $main)
)WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });i64x2.extend_high_i32x4_s
i64x2.extend_high_i32x4_sThe i64x2.extend_high_i32x4_s instruction.
[input] -> [output]
inputThe input v128 i32x4 value interpretation.
outputThe output v128 i64x2 value interpretation.
| Instruction | Binary format | Example text => binary |
|---|---|---|
i64x2.extend_high_i32x4_s | 0xfd 200:u32 | i64x2.extend_high_i32x4_s => 0xfd 0xc8 0x01 |