_mm512_mask_subr_round_pd
Classification
KNC, Arithmetic, CPUID Test: KNCNI
Header File
Instruction
VSUBRPD zmm {k}, zmm, zmm
Synopsis
_mm512_mask_subr_round_pd(__m512d src, __mmask8 k, __m512d v2, __m512d v3, int rounding);
Description
Performs element-by-element subtraction of packed double-precision (64-bit) floating-point elements in "v2" from "v3" storing the results in "dst" using writemask "k" (elements are copied from "src" when the corresponding mask bit is not set).
[round_note]
Operation
FOR j := 0 to 7
i := j*64
IF k[j]
dst[i+63:i] := v3[i+63:i] - v2[i+63:i]
ELSE
dst[i+63:i] := src[i+63:i]
FI
ENDFOR
dst[MAX:512] := 0