Function _mm512_roundscale_ph

#[target_feature(enable = "avx512fp16")]
pub fn _mm512_roundscale_ph(a: __m512h, IMM8: i32) -> __m512h

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