Function core::1.54.0 · source ·
arch:: wasm32:: v128_load32_splat
pub unsafe fn v128_load32_splat(m: *const u32) -> v128
target_family="wasm"and target feature
simd128and WebAssembly only.
Load a single element and splat to all lanes of a v128 vector.
While this intrinsic is provided for completeness it can also be replaced
u32x4_splat(*m) and it should generate equivalent code (and also not
This intrinsic is unsafe because it takes a raw pointer as an argument, and the pointer must be valid to load 4 bytes from. Note that there is no alignment requirement on this pointer since this intrinsic performs a 1-aligned load.