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

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

将 a 中的包装的单精度 (32-bit) 浮点元素转换为包装的半精度 (16-bit) 浮点元素,并使用 zeromask k 将结果存储在 dst 中 (当未设置相应的 mask 位时,元素清零)。
可以通过在 sae 参数中传递 _MM_FROUND_NO_EXC 来抑制异常。

Intel’s documentation