doc.rust-lang.org
pub const fn _mm_extract_epi8(a: __m128i, IMM8: i32) -> i32
Extracts an 8-bit integer from a, selected with IMM8. Returns a 32-bit integer containing the zero-extended integer data.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_extract_ps(a: __m128, IMM8: i32) -> i32
Extracts a single-precision (32-bit) floating-point element from a, selected with IMM8. The returned i32 stores the float's bit-pattern, and may be converted back to a floating point number via casting.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_floor_pd(a: __m128d) -> __m128d
Round the packed double-precision (64-bit) floating-point elements in a down to an integer value, and stores the results as packed double-precision floating-point elements.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_floor_ps(a: __m128) -> __m128
Round the packed single-precision (32-bit) floating-point elements in a down to an integer value, and stores the results as packed single-precision floating-point elements.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_floor_sd(a: __m128d, b: __m128d) -> __m128d
Round the lower double-precision (64-bit) floating-point element in b down to an integer value, store the result as a double-precision floating-point element in the lower element of the intrinsic result, and copies the upper element from a to the upper element of the intrinsic result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_floor_ss(a: __m128, b: __m128) -> __m128
Round the lower single-precision (32-bit) floating-point element in b down to an integer value, store the result as a single-precision floating-point element in the lower element of the intrinsic result, and copies the upper 3 packed elements from a to the upper elements of the intrinsic result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_insert_epi32(a: __m128i, i: i32, IMM8: i32) -> __m128i
Returns a copy of a with the 32-bit integer from i inserted at a location specified by IMM8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_insert_epi8(a: __m128i, i: i32, IMM8: i32) -> __m128i
Returns a copy of a with the 8-bit integer from i inserted at a location specified by IMM8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_insert_ps(a: __m128, b: __m128, IMM8: i32) -> __m128
Select a single value in b to store at some position in a, Then zero elements according to IMM8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_max_epi32(a: __m128i, b: __m128i) -> __m128i
Compares packed 32-bit integers in a and b, and returns packed maximum values.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_max_epi8(a: __m128i, b: __m128i) -> __m128i
Compares packed 8-bit integers in a and b and returns packed maximum values in dst.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_max_epu16(a: __m128i, b: __m128i) -> __m128i
Compares packed unsigned 16-bit integers in a and b, and returns packed maximum.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_max_epu32(a: __m128i, b: __m128i) -> __m128i
Compares packed unsigned 32-bit integers in a and b, and returns packed maximum values.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_min_epi32(a: __m128i, b: __m128i) -> __m128i
Compares packed 32-bit integers in a and b, and returns packed minimum values.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_min_epi8(a: __m128i, b: __m128i) -> __m128i
Compares packed 8-bit integers in a and b and returns packed minimum values in dst.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_min_epu16(a: __m128i, b: __m128i) -> __m128i
Compares packed unsigned 16-bit integers in a and b, and returns packed minimum.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_min_epu32(a: __m128i, b: __m128i) -> __m128i
Compares packed unsigned 32-bit integers in a and b, and returns packed minimum values.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_minpos_epu16(a: __m128i) -> __m128i
Finds the minimum unsigned 16-bit element in the 128-bit __m128i vector, returning a vector containing its value in its first position, and its index in its second position; all other elements are set to zero.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mpsadbw_epu8(a: __m128i, b: __m128i, IMM8: i32) -> __m128i
Subtracts 8-bit unsigned integer values and computes the absolute values of the differences to the corresponding bits in the destination. Then sums of the absolute differences are returned according to the bit fields in the immediate operand.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mul_epi32(a: __m128i, b: __m128i) -> __m128i
Multiplies the low 32-bit integers from each packed 64-bit element in a and b, and returns the signed 64-bit result.
function
core
Stable since 1.27.0
Version 1.100.0-nightly