_mm512_mask_fmadd233_ps
Classification
KNC, Arithmetic, CPUID Test: KNCNI
Header File
Instruction
VFMADD233PS zmm {k}, zmm, m512
Synopsis
_mm512_mask_fmadd233_ps(__m512 src, __mmask16 k, __m512 a, __m512 b);
Description
Multiply packed single-precision (32-bit) floating-point elements in each 4-element set of "a" and by element 1 of the corresponding 4-element set from "b", add the intermediate result to element 0 of the corresponding 4-element set from "b", and store the results in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
Operation
FOR j := 0 to 15
i := j*32
IF k[j]
base := (j & ~0x3) * 32
scale[31:0] := b[base+63:base+32]
bias[31:0] := b[base+31:base]
dst[i+31:i] := (a[i+31:i] * scale[31:0]) + bias[31:0]
ELSE
dst[i+31:i] := src[i+31:i]
FI
ENDFOR
dst[MAX:512] := 0