[cfe-commits] r64291 - /cfe/trunk/lib/Headers/pmmintrin.h
Eli Friedman
eli.friedman at gmail.com
Fri Feb 13 15:48:39 PST 2009
On Tue, Feb 10, 2009 at 10:39 PM, Anders Carlsson <andersca at mac.com> wrote:
> +static inline __m128d __attribute__((__always_inline__)) _mm_loaddup_pd(double const *dp)
> +{
> + return __builtin_shufflevector(*(__m128d *)dp, *(__m128d *)dp, 0, 0);
> +}
This is wrong and dangerous; dp is an 64-bit value, not a 128-bit value.
-Eli
More information about the cfe-commits
mailing list