[FFmpeg-cvslog] configure: Adjust AVX assembler check.

Diego Biurrun git at videolan.org
Fri May 20 06:00:41 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon May 16 14:23:59 2011 +0200| [429059f866259b447233c3fa23fffddce3e39508] | committer: Diego Biurrun

configure: Adjust AVX assembler check.

Older nasm versions have trouble assembling certain AVX instructions, but the
current AVX check did not detect this. Update the check to use an instruction
that triggers the nasm problem.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=429059f866259b447233c3fa23fffddce3e39508
---

 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 6becb09..96867a5 100755
--- a/configure
+++ b/configure
@@ -2729,7 +2729,7 @@ EOF
 
         check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
             die "yasm not found, use --disable-yasm for a crippled build"
-        check_yasm "vpaddw xmm0, xmm0, xmm0" || disable avx
+        check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
     fi
 
     case "$cpu" in



More information about the ffmpeg-cvslog mailing list