doc.rust-lang.org
pub const fn _mm_mullo_epi32(a: __m128i, b: __m128i) -> __m128i
Multiplies the packed 32-bit integers in a and b, producing intermediate 64-bit integers, and returns the lowest 32-bit, whatever they might be, reinterpreted as a signed integer. While pmulld __m128i::splat(2), __m128i::splat(2) returns the obvious __m128i::splat(4), due to wrapping arithmetic pmulld __m128i::splat(i32::MAX), __m128i::splat(2) would return a negative number.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_packus_epi32(a: __m128i, b: __m128i) -> __m128i
Converts packed signed 32-bit integers from a and b to packed 16-bit integers using unsigned saturation
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_round_pd(a: __m128d, ROUNDING: i32) -> __m128d
Round the packed double-precision (64-bit) floating-point elements in a using the ROUNDING parameter, and stores the results as packed double-precision floating-point elements. Rounding is done according to the rounding parameter, which can be one of:
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_round_ps(a: __m128, ROUNDING: i32) -> __m128
Round the packed single-precision (32-bit) floating-point elements in a using the ROUNDING parameter, and stores the results as packed single-precision floating-point elements. Rounding is done according to the rounding parameter, which can be one of:
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_round_sd(a: __m128d, b: __m128d, ROUNDING: i32) -> __m128d
Round the lower double-precision (64-bit) floating-point element in b using the ROUNDING parameter, 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. Rounding is done according to the rounding parameter, which can be one of:
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_round_ss(a: __m128, b: __m128, ROUNDING: i32) -> __m128
Round the lower single-precision (32-bit) floating-point element in b using the ROUNDING parameter, 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. Rounding is done according to the rounding parameter, which can be one of:
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_stream_load_si128(mem_addr: *const __m128i) -> __m128i
Load 128-bits of integer data from memory into dst. mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated. To minimize caching, the data is flagged as non-temporal (unlikely to be used again soon)
function
core
Stable since 1.82.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_test_all_ones(a: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are all ones.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_test_all_zeros(a: __m128i, mask: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are all zeros.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_test_mix_ones_zeros(a: __m128i, mask: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are neither all zeros nor all ones.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_testc_si128(a: __m128i, mask: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are all ones.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_testnzc_si128(a: __m128i, mask: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are neither all zeros nor all ones.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_testz_si128(a: __m128i, mask: __m128i) -> i32
Tests whether the specified bits in a 128-bit integer vector are all zeros.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_BIT_MASK: i32
Mask only: return the bit mask
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_CMP_EQUAL_ANY: i32
For each character in a, find if it is in b (Default)
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_CMP_EQUAL_EACH: i32
The strings defined by a and b are equal
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_CMP_EQUAL_ORDERED: i32
Search for the defined substring in the target
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_CMP_RANGES: i32
For each character in a, determine if b[0] <= c <= b[1] or b[1] <= c <= b[2]...
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_LEAST_SIGNIFICANT: i32
Index only: return the least significant bit (Default)
constant
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const _SIDD_MASKED_NEGATIVE_POLARITY: i32
Negates results only before the end of the string
constant
core
Stable since 1.27.0
Version 1.100.0-nightly