doc.rust-lang.org
pub fn i8x16_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 i8x16_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 i8x16_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, const I8: usize, const I9: usize, const I10: usize, const I11: usize, const I12: usize, const I13: usize, const I14: usize, const I15: usize>(a: v128, b: v128) -> v128
Returns a new vector with lanes selected from the lanes of the two input vectors $a and $b specified in the 16 immediate operands.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i8x16_splat(a: i8) -> 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 i8x16_sub(a: v128, b: v128) -> v128
Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i8x16_sub_sat(a: v128, b: v128) -> v128
Subtracts two 128-bit vectors as if they were two packed sixteen 8-bit signed integers, saturating on overflow to i8::MIN.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn i8x16_swizzle(a: v128, s: v128) -> v128
Returns a new vector with lanes selected from the lanes of the first input vector a specified in the second input vector s.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn u16x8(a0: u16, a1: u16, a2: u16, a3: u16, a4: u16, a5: u16, a6: u16, a7: u16) -> 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 u16x8_add_sat(a: v128, b: v128) -> v128
Adds two 128-bit vectors as if they were two packed eight 16-bit unsigned integers, saturating on overflow to u16::MAX.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_avgr(a: v128, b: v128) -> v128
Lane-wise rounding average.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_extract_lane<const N: usize>(a: v128) -> u16
Extracts a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_ge(a: v128, b: v128) -> v128
Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_gt(a: v128, b: v128) -> v128
Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_le(a: v128, b: v128) -> v128
Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_lt(a: v128, b: v128) -> v128
Compares two 128-bit vectors as if they were two vectors of 8 sixteen-bit unsigned integers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_max(a: v128, b: v128) -> v128
Compares lane-wise unsigned 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 u16x8_min(a: v128, b: v128) -> v128
Compares lane-wise unsigned 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 u16x8_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 u16x8_replace_lane<const N: usize>(a: v128, val: u16) -> v128
Replaces a lane from a 128-bit vector interpreted as 8 packed u16 numbers.
function
core
Stable since 1.54.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn u16x8_shr(a: v128, amt: u32) -> v128
Shifts each lane to the right by the specified number of bits, shifting in zeros.
function
core
Stable since 1.54.0
Version 1.100.0-nightly