Intel SSE: Why does `_mm_extract_ps` return `int` instead of `float`?
None of the answers appear to actually answer the question, why does it return int. The reason is, the extractps instruction actually copies a component of the vector to a general register. It does seem pretty silly for it to return an int but that’s what’s actually happening – the raw floating point value ends … Read more