title: Getting max value in a __m128i vector with SSE?
body: <p>I have just started using SSE and I am confused how to get the maximum integer value (<code>max</code>) of a <code>__m128i</code>.  For instance:</p>
  
  <pre><code>__m128i t = _mm_setr_ps(0,1,2,3);
  // max(t) = 3;
  </code></pre>
  
  <p>Searching around led me to <code>MAXPS</code> instruction but I can't seem to find how to use that with <code>"xmmintrin.h"</code>.  </p>
  
  <p>Also, is there any documentation for <code>"xmmintrin.h"</code> that you would recommend, rather than looking into the header file itself?</p>