[MPlayer-dev-eng] [PATCH] Check for intrinsic support in configure

Zuxy Meng zuxy.meng at gmail.com
Sun May 14 14:38:09 CEST 2006


Hi,

2006/5/14, Diego Biurrun <diego at biurrun.de>:
> On Sat, May 13, 2006 at 07:07:49PM +0800, Zuxy Meng wrote:
> > Mostly copied from ffmpeg's configure:-)
>
> Thanks, applied a somewhat modified version.

Just found a bug in my patch, which makes configure to check the
existence of xmmintrin.h only, even if it won't compile.

Sorry for the extra work.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
--- main/configure	2006-05-14 20:29:53.000000000 +0800
+++ main.new/configure	2006-05-14 20:34:17.000000000 +0800
@@ -1486,7 +1486,7 @@
   echocheck "xmmintrin.h"
   cat > $TMPC << EOF
 #include <xmmintrin.h>
-int main() { _mm_sfence ; return 0; }
+int main() { _mm_sfence(); return 0; }
 EOF
   _builtin_vector=no
   cc_check -msse && _builtin_vector=yes




More information about the MPlayer-dev-eng mailing list