_mm_trunc_ps
Classification
SVML, Miscellaneous, CPUID Test: SSE
Header File
Synopsis
_mm_trunc_ps(__m128 a);
Description
Truncate the packed single-precision (32-bit) floating-point elements in "a", and store the results as packed single-precision floating-point elements in "dst". This intrinsic may generate the "roundps"/"vroundps" instruction.
Operation
FOR j := 0 to 3
i := j*32
dst[i+31:i] := TRUNCATE(a[i+31:i])
ENDFOR
dst[MAX:128] := 0