[cfe-commits] [Patch] Missing [ex]mmintrin.h functions
Ed Schouten
ed at 80386.nl
Mon Jun 1 13:40:23 PDT 2009
Hi,
It seems I can only compile liboil when I have the following patch
applied:
%%%
--- lib/Headers/emmintrin.h
+++ lib/Headers/emmintrin.h
@@ -446,6 +446,8 @@
return (__m128d){ dp[0], dp[0] };
}
+#define _mm_load_pd1(dp) _mm_load1_pd(dp)
+
static inline __m128d __attribute__((__always_inline__, __nodebug__))
_mm_loadr_pd(double const *dp)
{
--- lib/Headers/xmmintrin.h
+++ lib/Headers/xmmintrin.h
@@ -471,6 +471,8 @@
return (__m128){ *p, *p, *p, *p };
}
+#define _mm_load_ps1(p) _mm_load1_ps(p)
+
static inline __m128 __attribute__((__always_inline__, __nodebug__))
_mm_load_ps(float *p)
{
%%%
Any reasons not to apply this patch to SVN?
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090601/9191d328/attachment.sig>
More information about the cfe-commits
mailing list