extend_high_i8x16_u: Wasm SIMD-Konvertierungsanweisung
Die extend_high_i8x16_u SIMD-Konvertierungsanweisung konvertiert die Lanes 8–15 einer unsignierten v128 i8x16-Wertinterpretation in eine i16x8-Wertinterpretation.
Probieren Sie es aus
(module
(import "console" "log" (func $log (param i32)))
(func $main
v128.const i8x16 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
i16x8.extend_high_i8x16_u
i16x8.extract_lane_s 0
call $log ;; log the result
)
(start $main)
)
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });
Syntax
i16x8.extend_high_i8x16_u
i16x8.extend_high_i8x16_u-
Die
i16x8.extend_high_i8x16_u-Anweisung.
Typ
[input] -> [output]
Binärcodierung
| Anweisung | Binärformat | Beispieltext => binär |
|---|---|---|
i16x8.extend_high_i8x16_u |
0xfd 138:u32 |
i16x8.extend_high_i8x16_u => 0xfd 0x8a 0x01 |