doc.rust-lang.org
pub fn _mm_mulhrs_epi16(a: __m128i, b: __m128i) -> __m128i
Multiplies packed 16-bit signed integer values, truncate the 32-bit product to the 18 most significant bits by right-shifting, round the truncated value by adding 1, and write bits [16:1] to the destination.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maddubs_epi16(a: __m128i, b: __m128i) -> __m128i
Multiplies corresponding pairs of packed 8-bit unsigned integer values contained in the first source operand and packed 8-bit signed integer values contained in the second source operand, add pairs of contiguous products with signed saturation, and writes the 16-bit sums to the corresponding bits in the destination.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_hsubs_epi16(a: __m128i, b: __m128i) -> __m128i
Horizontally subtract the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16]. Positive differences greater than 7FFFh are saturated to 7FFFh. Negative differences less than 8000h are saturated to 8000h.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_hsub_epi32(a: __m128i, b: __m128i) -> __m128i
Horizontally subtract the adjacent pairs of values contained in 2 packed 128-bit vectors of [4 x i32].
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_hsub_epi16(a: __m128i, b: __m128i) -> __m128i
Horizontally subtract the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16].
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_hadds_epi16(a: __m128i, b: __m128i) -> __m128i
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16]. Positive sums greater than 7FFFh are saturated to 7FFFh. Negative sums less than 8000h are saturated to 8000h.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_hadd_epi32(a: __m128i, b: __m128i) -> __m128i
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [4 x i32].
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_hadd_epi16(a: __m128i, b: __m128i) -> __m128i
Horizontally adds the adjacent pairs of values contained in 2 packed 128-bit vectors of [8 x i16].
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_alignr_epi8(a: __m128i, b: __m128i, IMM8: i32) -> __m128i
Concatenate 16-byte blocks in a and b into a 32-byte temporary result, shift the result right by n bytes, and returns the low 16 bytes.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_abs_epi8(a: __m128i) -> __m128i
Computes the absolute value of packed 8-bit signed integers in a and return the unsigned results.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_abs_epi32(a: __m128i) -> __m128i
Computes the absolute value of each of the packed 32-bit signed integers in a and return the 32-bit unsigned integer
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_abs_epi16(a: __m128i) -> __m128i
Computes the absolute value of each of the packed 16-bit signed integers in a and return the 16-bit unsigned integer
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_xor_ps(a: __m128, b: __m128) -> __m128
Bitwise exclusive OR of packed single-precision (32-bit) floating-point elements.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_unpacklo_ps(a: __m128, b: __m128) -> __m128
Unpacks and interleave single-precision (32-bit) floating-point elements from the lower half of a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_unpackhi_ps(a: __m128, b: __m128) -> __m128
Unpacks and interleave single-precision (32-bit) floating-point elements from the higher half of a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_undefined_ps() -> __m128
Returns vector of type __m128 with indeterminate elements. Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically picks some valid value and is not equivalent to mem::MaybeUninit. In practice, this is typically equivalent to mem::zeroed.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_ucomineq_ss(a: __m128, b: __m128) -> i32
Compares two 32-bit floats from the low-order bits of a and b. Returns 1 if they are not equal, or 0 otherwise. This instruction will not signal an exception if either argument is a quiet NaN.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_ucomilt_ss(a: __m128, b: __m128) -> i32
Compares two 32-bit floats from the low-order bits of a and b. Returns 1 if the value from a is less than the one from b, or 0 otherwise. This instruction will not signal an exception if either argument is a quiet NaN.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_ucomile_ss(a: __m128, b: __m128) -> i32
Compares two 32-bit floats from the low-order bits of a and b. Returns 1 if the value from a is less than or equal to the one from b, or 0 otherwise. This instruction will not signal an exception if either argument is a quiet NaN.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_ucomigt_ss(a: __m128, b: __m128) -> i32
Compares two 32-bit floats from the low-order bits of a and b. Returns 1 if the value from a is greater than the one from b, or 0 otherwise. This instruction will not signal an exception if either argument is a quiet NaN.
function
core
Stable since 1.27.0
Version 1.100.0-nightly