Suppose an SSE register contains one or more packed values not representable as a 32-bit int (such as Inf
or NaN
), and a convert-to-int is invoked, such as _mm_cvtpd_epi32
/ cvtpd2dq
.
- Is it safe, i.e. is the behavior defined?
- Does it break control flow, or merely raise a flag?
- What is the result of the conversion, if defined?