core::arch::wasm32

Function i16x8_replace_lane

1.54.0 ยท source
pub fn i16x8_replace_lane<const N: usize>(a: v128, val: i16) -> v128
Available on target_family="wasm" and target feature simd128 and WebAssembly only.
Expand description

Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.

Replaces the scalar value of lane specified in the immediate mode operand N from a. If N is out of bounds then it is a compile time error.