New be SSE question: how to find index of minimum in __m128 holding 4 floats

Vincent Mayeski
Wed Apr 16 21:58:00 GMT 2008


I'm looking for an sse based algorithm to find the index of a minimum in
a float array. I found an example of how to find just the actual minimum

The problem as I see it is that finding the index of the min within a
__m128 typed variable could be slow. Does anyone know if there is an
efficient way of doing it?


More information about the Gcc-help mailing list