MDN self-hosted library · e01.org

extend_low_i16x8_u: Wasm SIMD conversion instruction

The extendlowi16x8u SIMD conversion instruction converts lanes 0–3 of an unsigned v128 i16x8 value interpretation into an i32x4 value interpretation.

no runnable cells webassembly-instruction upstream source

The extend_low_i16x8_u SIMD conversion instruction converts lanes 0–3 of an unsigned v128 i16x8 value interpretation into an i32x4 value interpretation.

tabbed-taller

```wat interactive-example (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_u
i32x4.extract_lane 0
call $log ;; log the result

) (start $main) )


```js interactive-example
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });

Syntax

i32x4.extend_low_i16x8_u
  • i32x4.extend_low_i16x8_u
  • : The i32x4.extend_low_i16x8_u instruction.

Type

[input] -> [output]
  • input
  • : The input v128 i16x8 value interpretation.
  • output
  • : The output v128 i32x4 value interpretation.

Binary encoding

Instruction Binary format Example text => binary
i32x4.extend_low_i16x8_u 0xfd 169:u32 i32x4.extend_low_i16x8_u => 0xfd 0xa9 0x01

Specifications

Browser compatibility