Function core::arch::wasm32::i16x8_load_extend_u8x8

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

加载 8 个 8 位整数,零加载每个整数至 16 位 lane

Unsafety

这个内部函数是不安全的,因为它需要一个裸指针作为参数,并且指针必须有效才能从中加载 8 个字节。 注意这个指针没有对齐要求,因为这个内部函数执行了一个 1-aligned load.