# Function core::arch::x86_64::_mm_cmp_ss

1.27.0 · source · [−]

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

Available on (x86 or x86-64) and target feature `avx,sse` and x86-64 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