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

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

将包装的单精度 (32-bit) 浮点元素转换为包装的半精度 (16-bit) 浮点元素,并将结果存储在 dst 中。
可以通过在 sae 参数中传递 _MM_FROUND_NO_EXC 来抑制异常。

Intel’s documentation