Function core::arch::x86::_mm512_maskz_getexp_round_ps[][src]

pub unsafe fn _mm512_maskz_getexp_round_ps<const SAE: i32>(
    k: __mmask16,
    a: __m512
) -> __m512
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on x86 and target feature avx512f only.
Expand description

将 a 中每个包装的单精度 (32-bit) 浮点元素的指数转换为代表整数指数的单精度 (32-bit) 浮点数,并使用 zeromask k 将结果存储在 dst 中 (当相应的 mask 位为零时,元素被清零未设置)。本质上,此内联函数为每个元素计算 floor(log2(x))。
可以通过在 sae 参数中传递 _MM_FROUND_NO_EXC 来抑制异常。

Intel’s documentation