core::arch::wasm32

Function u16x8_load_extend_u8x8

1.54.0 · Source
pub unsafe fn u16x8_load_extend_u8x8(m: *const u8) -> v128
Available on target_family="wasm" and target feature simd128 and WebAssembly only.
Expand description

Load eight 8-bit integers and zero extend each one to a 16-bit lane

§Unsafety

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