[FFmpeg-cvslog] x86: Require an assembler able to cope with AVX instructions

Diego Biurrun git at videolan.org
Mon Feb 18 01:09:41 CET 2013


ffmpeg | branch: release/0.7 | Diego Biurrun <diego at biurrun.de> | Sun Nov 11 22:41:46 2012 +0100| [7b91e52eb9fd6012a0804febc7821b9484e6faa6] | committer: Diego Biurrun

x86: Require an assembler able to cope with AVX instructions

All modern assemblers have this capability.  Older NASM versions
that lack the capability produce code that crashes at runtime,
so it's better to error out during the build process instead.

(cherry picked from commit e287201c77dc7a7a9759d56d8f48ae719b7e69a9)

Signed-off-by: Diego Biurrun <diego at biurrun.de>

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

 configure |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index f4c3274..6a2ff4f 100755
--- a/configure
+++ b/configure
@@ -2739,9 +2739,8 @@ EOF
             elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
         esac
 
-        check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
+        check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
             die "yasm not found, use --disable-yasm for a crippled build"
-        check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
     fi
 
     case "$cpu" in



More information about the ffmpeg-cvslog mailing list