core::arch::wasm32::v128_const - Rust
Description: API documentation for the Rust `v128_const` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, v128_const

# [−][src]Function core::arch::wasm32::v128_const

    pub fn v128_const(
        a0: u8,
        a1: u8,
        a2: u8,
        a3: u8,
        a4: u8,
        a5: u8,
        a6: u8,
        a7: u8,
        a8: u8,
        a9: u8,
        a10: u8,
        a11: u8,
        a12: u8,
        a13: u8,
        a14: u8,
        a15: u8
    ) -> v128

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on WebAssembly only.

Materializes a constant SIMD value from the immediate operands.

The `v128.const` instruction is encoded with 16 immediate bytes `imm` which provide the bits of the vector directly.