[cfe-commits] r64522 - /cfe/trunk/lib/Headers/pmmintrin.h
Anders Carlsson
andersca at mac.com
Fri Feb 13 17:06:58 PST 2009
Author: andersca
Date: Fri Feb 13 19:06:58 2009
New Revision: 64522
URL: http://llvm.org/viewvc/llvm-project?rev=64522&view=rev
Log:
Fix an error in _mm_loaddup_pd that Eli noticed.
Modified:
cfe/trunk/lib/Headers/pmmintrin.h
Modified: cfe/trunk/lib/Headers/pmmintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/pmmintrin.h?rev=64522&r1=64521&r2=64522&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/pmmintrin.h (original)
+++ cfe/trunk/lib/Headers/pmmintrin.h Fri Feb 13 19:06:58 2009
@@ -87,7 +87,7 @@
static inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loaddup_pd(double const *dp)
{
- return __builtin_shufflevector(*(__m128d *)dp, *(__m128d *)dp, 0, 0);
+ return (__m128d){ *dp, *dp };
}
static inline __m128d __attribute__((__always_inline__, __nodebug__))
More information about the cfe-commits
mailing list