[cfe-commits] r61316 - /cfe/trunk/lib/Headers/xmmintrin.devel.h

Mike Stump mrs at apple.com
Sun Dec 28 00:28:02 PST 2008


On Dec 21, 2008, at 4:28 PM, Anders Carlsson wrote:
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Headers/xmmintrin.devel.h (original)
> +++ cfe/trunk/lib/Headers/xmmintrin.devel.h Sun Dec 21 18:28:39 2008
> @@ -140,6 +140,186 @@
>   return __builtin_ia32_xorps(a, b);
> }
>
> +static inline __m128 __attribute__((__always_inline__))  
> _mm_cmpeq_ss(__m128 a, __m128 b)
> +{

We've had problems with static inline in C99 mode, if I recall  
correctly.  :-(  It ensures that these can't be used in all the places  
that one would otherwise like to use them.  Instead, it should be just  
inline, when C99 inline semantics are in play.



More information about the cfe-commits mailing list