extend_low_i32x4_u: Wasm SIMD conversion instruction

The extend_low_i32x4_u SIMD conversion instruction converts lanes 0–1 of an unsigned v128 i32x4 value interpretation into an i64x2 value interpretation.

Try it

(module
  (import "console" "log" (func $log (param i64)))
  (func $main
    v128.const i32x4 2090 2091 2092 2093

    i64x2.extend_low_i32x4_u
    i64x2.extract_lane 0
    call $log ;; log the result
  )
  (start $main)
)
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });

Syntax

i64x2.extend_low_i32x4_u
i64x2.extend_low_i32x4_u

The i64x2.extend_low_i32x4_u instruction.

Type

[input] -> [output]
input

The input v128 i32x4 value interpretation.

output

The output v128 i64x2 value interpretation.

Binary encoding

Instruction Binary format Example text => binary
i64x2.extend_low_i32x4_u 0xfd 201:u32 i64x2.extend_low_i32x4_u => 0xfd 0xc9 0x01

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility

See also