Function core::1.54.0 · source ·
arch:: wasm32:: v128_store16_lane
pub unsafe fn v128_store16_lane<const L: usize>(v: v128, m: *mut u16)
target_family="wasm"and target feature
simd128and WebAssembly only.
Stores the 16-bit value from lane
This intrinsic is provided for completeness and is equivalent to
*m = u16x8_extract_lane::<L>(v) (which doesn’t require
This intrinsic is unsafe because it takes a raw pointer as an argument, and the pointer must be valid to store 2 bytes to. Note that there is no alignment requirement on this pointer since this intrinsic performs a 1-aligned store.