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

Diego Biurrun git at videolan.org
Mon Nov 12 12:18:50 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Sep 28 19:36:53 2012 +0200| [b8e8a07c6c4df93de92480f5c3a14296a6a2a690] | 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

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

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

diff --git a/configure b/configure
index d67fc85..a66a7ff 100755
--- a/configure
+++ b/configure
@@ -3152,9 +3152,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_external
         check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
         check_yasm "CPU amdnop" && enable cpunop
     fi



More information about the ffmpeg-cvslog mailing list