doc.rust-lang.org
pub fn i16x8_max(a: v128, b: v128) -> v128
Compares lane-wise signed integers, and returns the maximum of each pair.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_min(a: v128, b: v128) -> v128
Compares lane-wise signed integers, and returns the minimum of each pair.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_mul(a: v128, b: v128) -> v128
Multiplies two 128-bit vectors as if they were two packed eight 16-bit signed integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_narrow_i32x4(a: v128, b: v128) -> v128
Converts two input vectors into a smaller lane vector by narrowing each lane.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_ne(a: v128, b: v128) -> v128
Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_neg(a: v128) -> v128
Negates a 128-bit vectors interpreted as eight 16-bit signed integers
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_q15mulr_sat(a: v128, b: v128) -> v128
Lane-wise saturating rounding multiplication in Q15 format.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_replace_lane<const N: usize>(a: v128, val: i16) -> v128
Replaces a lane from a 128-bit vector interpreted as 8 packed i16 numbers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_shl(a: v128, amt: u32) -> v128
Shifts each lane to the left by the specified number of bits.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_shr(a: v128, amt: u32) -> v128
Shifts each lane to the right by the specified number of bits, sign extending.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_shuffle<const I0: usize, const I1: usize, const I2: usize, const I3: usize, const I4: usize, const I5: usize, const I6: usize, const I7: usize>(a: v128, b: v128) -> v128
Same as i8x16_shuffle, except operates as if the inputs were eight 16-bit integers, only taking 8 indices to shuffle.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_splat(a: i16) -> v128
Creates a vector with identical lanes.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_sub(a: v128, b: v128) -> v128
Subtracts two 128-bit vectors as if they were two packed eight 16-bit integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i16x8_sub_sat(a: v128, b: v128) -> v128
Subtracts two 128-bit vectors as if they were two packed eight 16-bit signed integers, saturating on overflow to i16::MIN.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn i32x4(a0: i32, a1: i32, a2: i32, a3: i32) -> v128
Materializes a SIMD value from the provided operands.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i32x4_abs(a: v128) -> v128
Lane-wise wrapping absolute value.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i32x4_add(a: v128, b: v128) -> v128
Adds two 128-bit vectors as if they were two packed four 32-bit integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i32x4_all_true(a: v128) -> bool
Returns true if all lanes are non-zero, false otherwise.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i32x4_bitmask(a: v128) -> u8
Extracts the high bit for each lane in a and produce a scalar mask with all bits concatenated.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i32x4_dot_i16x8(a: v128, b: v128) -> v128
Lane-wise multiply signed 16-bit integers in the two input vectors and add adjacent pairs of the full 32-bit results.
function
core
Stable since 1.54.0
Version 1.100.0-nightly