extend_high_i16x8_u: Wasm SIMD Umwandlungsanweisung
Die extend_high_i16x8_u SIMD Umwandlungsanweisung wandelt die Lanes 4–7 einer unsignierten v128 i16x8 Wertinterpretation in eine i32x4 Wertinterpretation um.
Probieren Sie es aus
(module
(import "console" "log" (func $log (param i32)))
(func $main
v128.const i16x8 200 210 220 230 240 250 260 270
i32x4.extend_high_i16x8_u
i32x4.extract_lane 0
call $log ;; log the result
)
(start $main)
)
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });
Syntax
i32x4.extend_high_i16x8_u
i32x4.extend_high_i16x8_u-
Die
i32x4.extend_high_i16x8_uAnweisung.
Typ
[input] -> [output]
Binärcodierung
| Anweisung | Binärformat | Beispieltext => binär |
|---|---|---|
i32x4.extend_high_i16x8_u |
0xfd 170:u32 |
i32x4.extend_high_i16x8_u => 0xfd 0xaa 0x01 |