_mm256_logb_ph
Classification
SVML, Elementary Math Functions, CPUID Test: AVX512_FP16
Header File
Synopsis
_mm256_logb_ph(__m256h a);
Description
Convert the exponent of each packed half-precision (16-bit) floating-point element in "a" to a single-precision floating-point number representing the integer exponent, and store the results in "dst". This intrinsic essentially calculates "floor(log2(x))" for each element.
Operation
FOR j := 0 to 15
i := j*16
dst[i+15:i] := ConvertExpFP16(a[i+15:i])
ENDFOR
dst[MAX:256] := 0