[MPlayer-users] avx2 not detected by configure script

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 27 22:29:49 CET 2014


On 27 December 2014 19:55:34 CET, Craig <sucopsucoh-at-yahoo.co.uk at ffmpeg.org> wrote:
>Hi,
>
>Compiling the latest mplayer I noticed this message...
>
>Checking for kernel support of avx2 ... failed
>
>My processor supports avx2 so I looked at the configure script. The
>problem seems to be with the line...
>
>extcheck $_avx2     "avx2"     "vextracti128 $0, %%ymm0, %%xmm0"
>
>$0 is replaced with the script name, resulting in a test program with
>the line...
>
>__asm__ volatile ("vextracti128 ./configure, %%ymm0,
>%%xmm0":::"memory"); return 0;
>
>Escaping $0 solves the problem.
>
>extcheck $_avx2     "avx2"     "vextracti128 \$0, %%ymm0, %%xmm0"
>
>I Googled this but found no relevant results. Just wondered if this is
>a known problem?

No, I guess too few people have a cpu with avx2 support.
I fixed it differently by switching to ' instead of " for quoting.



More information about the MPlayer-users mailing list