_mm512_mask_reduce_gmax_ps
Classification
KNC, Special Math Functions, CPUID Test: KNCNI
Header File
Synopsis
_mm512_mask_reduce_gmax_ps(__mmask16 k, __m512 a);
Description
Determines the maximum element of the packed single-precision (32-bit) floating-point elements stored in "a" and stores the result in "dst". Bitmask "k" is used to exclude certain elements (elements are ignored when the corresponding mask bit is not set).
Operation
max := a[31:0]
FOR j := 1 to 15
i := j*32
IF k[j]
CONTINUE
ELSE
dst := FpMax(max, a[i+31:i])
FI
ENDFOR
dst := max