Skip to main content

## _mm_mask_fpclass_ps_mask

# Function _mm_mask_fpclass_ps_mask

1.89.0 · Source

    pub fn _mm_mask_fpclass_ps_mask(
        k1: __mmask8,
        a: __m128,
        const IMM8: i32,
    ) -> __mmask8

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

Test packed single-precision (32-bit) floating-point elements in a for special categories specified by imm8, and store the results in mask vector k using zeromask k1 (elements are zeroed out when the corresponding mask bit is not set). imm can be a combination of:

    - 0x01 // QNaN
    - 0x02 // Positive Zero
    - 0x04 // Negative Zero
    - 0x08 // Positive Infinity
    - 0x10 // Negative Infinity
    - 0x20 // Denormal
    - 0x40 // Negative
    - 0x80 // SNaN

Intel’s Documentation