[cfe-commits] r61446 - /cfe/trunk/lib/Headers/xmmintrin.h
Chris Lattner
clattner at apple.com
Fri Dec 26 22:34:27 PST 2008
On Dec 26, 2008, at 8:26 PM, Anders Carlsson wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=61446&view=rev
> Log:
> Add a MS specific intrinsic.
Should this be guarded by a #define set when in -fms-extensions mode?
-Chris
>
>
> Modified:
> cfe/trunk/lib/Headers/xmmintrin.h
>
> Modified: cfe/trunk/lib/Headers/xmmintrin.h
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/xmmintrin.h?rev=61446&r1=61445&r2=61446&view=diff
>
> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- cfe/trunk/lib/Headers/xmmintrin.h (original)
> +++ cfe/trunk/lib/Headers/xmmintrin.h Fri Dec 26 22:26:15 2008
> @@ -425,6 +425,12 @@
> return (__m128){ w, w, w, w };
> }
>
> +// Microsoft specific.
> +static inline __m128 __attribute__((__always_inline__))
> _mm_set_ps1(float w)
> +{
> + return _mm_set1_ps(w);
> +}
> +
> static inline __m128 __attribute__((__always_inline__))
> _mm_set_ps(float z, float y, float x, float w)
> {
> return (__m128){ w, x, y, z };
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list