Function core::arch::wasm64::v128_store64_lane

1.54.0 · source ·
pub unsafe fn v128_store64_lane<const L: usize>(v: v128, m: *mut u64)
Available on target_family="wasm" and target feature simd128 and WebAssembly only.
Expand description

Stores the 64-bit value from lane L of v into m

This intrinsic is provided for completeness and is equivalent to *m = u64x2_extract_lane::<L>(v) (which doesn’t require unsafe).

Unsafety

This intrinsic is unsafe because it takes a raw pointer as an argument, and the pointer must be valid to store 8 bytes to. Note that there is no alignment requirement on this pointer since this intrinsic performs a 1-aligned store.