extend_high_i16x8_s: Wasm SIMD Konvertierungsanweisung
Die extend_high_i16x8_s SIMD Konvertierungsanweisung konvertiert die Lanes 4–7 einer als i16x8 interpretierten, signierten v128 in eine als i32x4 interpretierte Wertedarstellung.
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_s
i32x4.extract_lane 0
call $log ;; log the result
)
(start $main)
)
WebAssembly.instantiateStreaming(fetch("{%wasm-url%}"), { console });
Syntax
i32x4.extend_high_i16x8_s
i32x4.extend_high_i16x8_s-
Die
i32x4.extend_high_i16x8_sAnweisung.
Typ
[input] -> [output]
Binäre Kodierung
| Anweisung | Binärformat | Beispiel Text => binär |
|---|---|---|
i32x4.extend_high_i16x8_s |
0xfd 168:u32 |
i32x4.extend_high_i16x8_s => 0xfd 0xa8 0x01 |