_mm512_mask_blend_ph
Classification
AVX-512, Miscellaneous, CPUID Test: AVX512_FP16
Header File
Instruction
VPBLENDMW zmm {k}, zmm, zmm
Synopsis
_mm512_mask_blend_ph(__mmask32 k, __m512h a, __m512h b);
Description
Blend packed half-precision (16-bit) floating-point elements from "a" and "b" using control mask "k", and store the results in "dst".
Operation
FOR j := 0 to 31
IF k[j]
dst.fp16[j] := b.fp16[j]
ELSE
dst.fp16[j] := a.fp16[j]
FI
ENDFOR
dst[MAX:512] := 0