no_std_compat::arch::x86

Function _mm256_mask_fpclass_ph_mask

Source
pub unsafe fn _mm256_mask_fpclass_ph_mask<const IMM8: i32>(
    k1: u16,
    a: __m256h,
) -> u16
🔬This is a nightly-only experimental API. (stdarch_x86_avx512_f16)
Available on x86 only.
Expand description

Test packed half-precision (16-bit) floating-point elements in a for special categories specified by imm8, and store the results in mask vector k using zeromask k (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