[cfe-commits] r99587 - /cfe/trunk/lib/Headers/smmintrin.h

Eric Christopher echristo at apple.com
Thu Mar 25 17:51:29 PDT 2010


Author: echristo
Date: Thu Mar 25 19:51:28 2010
New Revision: 99587

URL: http://llvm.org/viewvc/llvm-project?rev=99587&view=rev
Log:
This is just a simple v4si * v4si, make it so.

Modified:
    cfe/trunk/lib/Headers/smmintrin.h

Modified: cfe/trunk/lib/Headers/smmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/smmintrin.h?rev=99587&r1=99586&r2=99587&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/smmintrin.h (original)
+++ cfe/trunk/lib/Headers/smmintrin.h Thu Mar 25 19:51:28 2010
@@ -110,7 +110,7 @@
 static __inline__  __m128i __attribute__((__always_inline__, __nodebug__))
 _mm_mullo_epi32 (__m128i __V1, __m128i __V2)
 {
-  return (__m128i) __builtin_ia32_pmulld128((__v4si)__V1, (__v4si)__V2);
+  return (__m128i) ((__v4si)__V1 * (__v4si)__V2);
 }
 
 static __inline__  __m128i __attribute__((__always_inline__, __nodebug__))





More information about the cfe-commits mailing list