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

Diego Biurrun git at videolan.org
Thu Jan 17 01:38:57 CET 2013


ffmpeg | branch: release/0.10 | Diego Biurrun <diego at biurrun.de> | Sun Nov 11 22:41:46 2012 +0100| [e287201c77dc7a7a9759d56d8f48ae719b7e69a9] | 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.

CC: libav-stable at libav.org
(cherry picked from commit b8e8a07c6c4df93de92480f5c3a14296a6a2a690)

Conflicts:

	configure

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

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

diff --git a/configure b/configure
index 93b98a9..51e20cb 100755
--- a/configure
+++ b/configure
@@ -2785,9 +2785,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