_mm512_mask_floor_ph
Classification
SVML, Special Math Functions, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm512_mask_floor_ph(__m512h src, __mmask32 k, __m512h a);
Description
Round the packed half-precision (16-bit) floating-point elements in "a" down to an integer value, and store the results as packed single-precision floating-point elements in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 31
i := j*16
IF k[j]
dst[i+15:i] := FLOOR(a[i+15:i])
ELSE
dst[i+15:i] := src[i+15:i]
FI
ENDFOR
dst[MAX:512] := 0