Skip to main content

## _mm_cmp_ss

# Function _mm_cmp_ss

1.27.0 · Source

    pub fn _mm_cmp_ss(a: __m128, b: __m128, const IMM5: i32) -> __m128

Available on x86-64 and target feature `avx` only.
Expand description

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.

Intel’s documentation