doc.rust-lang.org
pub fn _mm_testnzc_ps(a: __m128, b: __m128) -> i32
Computes the bitwise AND of 128 bits (representing single-precision (32-bit) floating-point elements) in a and b, producing an intermediate 128-bit value, and set ZF to 1 if the sign bit of each 32-bit element in the intermediate value is zero, otherwise set ZF to 0. Compute the bitwise NOT of a and then AND with b, producing an intermediate value, and set CF to 1 if the sign bit of each 32-bit element in the intermediate value is zero, otherwise set CF to 0. Return 1 if both the ZF and CF values are zero, otherwise return 0.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_testnzc_pd(a: __m128d, b: __m128d) -> i32
Computes the bitwise AND of 128 bits (representing double-precision (64-bit) floating-point elements) in a and b, producing an intermediate 128-bit value, and set ZF to 1 if the sign bit of each 64-bit element in the intermediate value is zero, otherwise set ZF to 0. Compute the bitwise NOT of a and then AND with b, producing an intermediate value, and set CF to 1 if the sign bit of each 64-bit element in the intermediate value is zero, otherwise set CF to 0. Return 1 if both the ZF and CF values are zero, otherwise return 0.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_testc_ps(a: __m128, b: __m128) -> i32
Computes the bitwise AND of 128 bits (representing single-precision (32-bit) floating-point elements) in a and b, producing an intermediate 128-bit value, and set ZF to 1 if the sign bit of each 32-bit element in the intermediate value is zero, otherwise set ZF to 0. Compute the bitwise NOT of a and then AND with b, producing an intermediate value, and set CF to 1 if the sign bit of each 32-bit element in the intermediate value is zero, otherwise set CF to 0. Return the CF value.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_testc_pd(a: __m128d, b: __m128d) -> i32
Computes the bitwise AND of 128 bits (representing double-precision (64-bit) floating-point elements) in a and b, producing an intermediate 128-bit value, and set ZF to 1 if the sign bit of each 64-bit element in the intermediate value is zero, otherwise set ZF to 0. Compute the bitwise NOT of a and then AND with b, producing an intermediate value, and set CF to 1 if the sign bit of each 64-bit element in the intermediate value is zero, otherwise set CF to 0. Return the CF value.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_permutevar_ps(a: __m128, b: __m128i) -> __m128
Shuffles single-precision (32-bit) floating-point elements in a using the control in b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_permutevar_pd(a: __m128d, b: __m128i) -> __m128d
Shuffles double-precision (64-bit) floating-point elements in a using the control in b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_permute_ps(a: __m128, IMM8: i32) -> __m128
Shuffles single-precision (32-bit) floating-point elements in a using the control in imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_permute_pd(a: __m128d, IMM2: i32) -> __m128d
Shuffles double-precision (64-bit) floating-point elements in a using the control in imm8.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskstore_ps(mem_addr: *mut f32, mask: __m128i, a: __m128)
Stores packed single-precision (32-bit) floating-point elements from a into memory using mask.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskstore_pd(mem_addr: *mut f64, mask: __m128i, a: __m128d)
Stores packed double-precision (64-bit) floating-point elements from a into memory using mask.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskload_ps(mem_addr: *const f32, mask: __m128i) -> __m128
Loads packed single-precision (32-bit) floating-point elements from memory into result using mask (elements are zeroed out when the high bit of the corresponding element is not set).
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskload_pd(mem_addr: *const f64, mask: __m128i) -> __m128d
Loads packed double-precision (64-bit) floating-point elements from memory into result using mask (elements are zeroed out when the high bit of the corresponding element is not set).
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cmp_ss(a: __m128, b: __m128, IMM5: i32) -> __m128
Compares the lower single-precision (32-bit) floating-point element in a and b based on the comparison operand specified by IMM5, store the result in the lower element of returned vector, and copies the upper 3 packed elements from a to the upper elements of returned vector.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cmp_sd(a: __m128d, b: __m128d, IMM5: i32) -> __m128d
Compares the lower double-precision (64-bit) floating-point element in a and b based on the comparison operand specified by IMM5, store the result in the lower element of returned vector, and copies the upper element from a to the upper element of returned vector.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cmp_ps(a: __m128, b: __m128, IMM5: i32) -> __m128
Compares packed single-precision (32-bit) floating-point elements in a and b based on the comparison operand specified by IMM5.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cmp_pd(a: __m128d, b: __m128d, IMM5: i32) -> __m128d
Compares packed double-precision (64-bit) floating-point elements in a and b based on the comparison operand specified by IMM5.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_broadcast_ss(f: &f32) -> __m128
Broadcasts a single-precision (32-bit) floating-point element from memory to all elements of the returned vector.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_zextsi128_si256(a: __m128i) -> __m256i
Constructs a 256-bit integer vector from a 128-bit integer vector. The lower 128 bits contain the value of the source vector. The upper 128 bits are set to zero.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_zextps128_ps256(a: __m128) -> __m256
Constructs a 256-bit floating-point vector of [8 x float] from a 128-bit floating-point vector of [4 x float]. The lower 128 bits contain the value of the source vector. The upper 128 bits are set to zero.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_zextpd128_pd256(a: __m128d) -> __m256d
Constructs a 256-bit floating-point vector of [4 x double] from a 128-bit floating-point vector of [2 x double]. The lower 128 bits contain the value of the source vector. The upper 128 bits are set to zero.
function
core
Stable since 1.27.0
Version 1.100.0-nightly