doc.rust-lang.org
pub const unsafe fn _mm_load_ss(p: *const f32) -> __m128
Construct a __m128 with the lowest element read from p and the other elements set to zero.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_load_ps1(p: *const f32) -> __m128
Alias for _mm_load1_ps
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_load_ps(p: *const f32) -> __m128
Loads four f32 values from aligned memory into a __m128. If the pointer is not aligned to a 128-bit boundary (16 bytes) a general protection fault will be triggered (fatal program crash).
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_load1_ps(p: *const f32) -> __m128
Construct a __m128 by duplicating the value read from p into all elements.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_getcsr() -> u32
Gets the unsigned 32-bit value of the MXCSR control and status register.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_div_ss(a: __m128, b: __m128) -> __m128
Divides the first component of b by a, the other components are copied from a.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_div_ps(a: __m128, b: __m128) -> __m128
Divides packed single-precision (32-bit) floating-point elements in a and b.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvttss_si32(a: __m128) -> i32
Converts the lowest 32 bit float in the input vector to a 32 bit integer with truncation.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvtt_ss2si(a: __m128) -> i32
Alias for _mm_cvttss_si32.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvtss_si32(a: __m128) -> i32
Converts the lowest 32 bit float in the input vector to a 32 bit integer.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cvtss_f32(a: __m128) -> f32
Extracts the lowest 32 bit float from the input vector.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_cvtsi32_ss(a: __m128, b: i32) -> __m128
Converts a 32 bit integer to a 32 bit float. The result vector is the input vector a with the lowest 32 bit float replaced by the converted integer.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvt_ss2si(a: __m128) -> i32
Alias for _mm_cvtss_si32.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cvt_si2ss(a: __m128, b: i32) -> __m128
Alias for _mm_cvtsi32_ss.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comineq_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.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comilt_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.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comile_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.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comigt_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.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comige_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 or equal to the one from b, or 0 otherwise.
function
core
Stable since 1.27.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comieq_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 equal, or 0 otherwise.
function
core
Stable since 1.27.0
Version 1.100.0-nightly