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