Skip to main content

## _mm_cmpestra

# Function _mm_cmpestra

1.27.0 · Source

    pub fn _mm_cmpestra(
        a: __m128i,
        la: i32,
        b: __m128i,
        lb: i32,
        const IMM8: i32,
    ) -> i32

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

Compares packed strings in `a` and `b` with lengths `la` and `lb` using the control in `IMM8`, and return `1` if `b` did not contain a null character and the resulting mask was zero, and `0` otherwise.

Intel’s documentation