_mm256_round_pd
Classification
AVX_ALL, Special Math Functions, CPUID Test: AVX
Header File
Instruction
VROUNDPD ymm, ymm, imm8
Synopsis
_mm256_round_pd(__m256d a, int rounding);
Description
Round the packed double-precision (64-bit) floating-point elements in "a" using the "rounding" parameter, and store the results as packed double-precision floating-point elements in "dst".
[round_note]
Operation
FOR j := 0 to 3
i := j*64
dst[i+63:i] := ROUND(a[i+63:i], rounding)
ENDFOR
dst[MAX:256] := 0