title: SSE4 and SSE2 regarding integer and float performance - which is faster?
body: <p>While you <em>usually</em> get better integer arithmetic performance than floating point performance on CPUs, could someone clarify what the case is with the SIMD versions.For instance:</p>
  
  <pre><code> __m128i _mm_mul_epi32(__m128i a, __m128i b);
  //(multiplies 2 integer vectors)
  </code></pre>
  
  <p>versus:</p>
  
  <pre><code>__m128 _mm_mul_ps(__m128 a , __m128 b );
  //(multiplies 2 float vectors)
  </code></pre>
  
  <p>Which yields higher performance?(assuming the machine has SSE4 capabilities).I'm saying this, because I coded my own little math library based on SSE2 instructions and I don't know if I should have went right on with using __m128i.</p>