doc.rust-lang.org
pub unsafe fn v128_load(m: *const v128) -> v128
Loads a v128 vector from the given heap address.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load16_lane<const L: usize>(v: v128, m: *const u16) -> v128
Loads a 16-bit value from m and sets lane L of v to that value.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load16_splat(m: *const u16) -> v128
Load a single element and splat to all lanes of a v128 vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load32_lane<const L: usize>(v: v128, m: *const u32) -> v128
Loads a 32-bit value from m and sets lane L of v to that value.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load32_splat(m: *const u32) -> v128
Load a single element and splat to all lanes of a v128 vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load32_zero(m: *const u32) -> v128
Load a 32-bit element into the low bits of the vector and sets all other bits to zero.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load64_lane<const L: usize>(v: v128, m: *const u64) -> v128
Loads a 64-bit value from m and sets lane L of v to that value.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load64_splat(m: *const u64) -> v128
Load a single element and splat to all lanes of a v128 vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load64_zero(m: *const u64) -> v128
Load a 64-bit element into the low bits of the vector and sets all other bits to zero.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load8_lane<const L: usize>(v: v128, m: *const u8) -> v128
Loads an 8-bit value from m and sets lane L of v to that value.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_load8_splat(m: *const u8) -> v128
Load a single element and splat to all lanes of a v128 vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn v128_not(a: v128) -> v128
Flips each bit of the 128-bit input vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn v128_or(a: v128, b: v128) -> v128
Performs a bitwise or of the two input 128-bit vectors, returning the resulting vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_store(m: *mut v128, a: v128)
Stores a v128 vector to the given heap address.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_store16_lane<const L: usize>(v: v128, m: *mut u16)
Stores the 16-bit value from lane L of v into m
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_store32_lane<const L: usize>(v: v128, m: *mut u32)
Stores the 32-bit value from lane L of v into m
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_store64_lane<const L: usize>(v: v128, m: *mut u64)
Stores the 64-bit value from lane L of v into m
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn v128_store8_lane<const L: usize>(v: v128, m: *mut u8)
Stores the 8-bit value from lane L of v into m
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn v128_xor(a: v128, b: v128) -> v128
Performs a bitwise xor of the two input 128-bit vectors, returning the resulting vector.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn unreachable() -> never
Generates the unreachable instruction, which causes an unconditional trap.
function
core
Stable since 1.37.0
Version 1.100.0-nightly