Function _mm256_roundscale_ph

#[target_feature(enable = "avx512fp16", enable = "avx512vl")]
pub fn _mm256_roundscale_ph(a: __m256h, IMM8: i32) -> __m256h

Round packed half-precision (16-bit) floating-point elements in a to the number of fraction bits specified by imm8, and store the results in dst.

Rounding is done according to the imm8 parameter, which can be one of:

Intel's documentation