_mm_round_pd
Classification
SSE_ALL, Special Math Functions, CPUID Test: SSE4.1
Header File
Instruction
ROUNDPD xmm, xmm, imm8
Synopsis
_mm_round_pd(__m128d 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 1
i := j*64
dst[i+63:i] := ROUND(a[i+63:i], rounding)
ENDFOR