[x264-devel] Bump yasm version requirement to handle AVX

Jason Garrett-Glaser git at videolan.org
Mon Feb 7 06:31:30 CET 2011


x264 | branch: master | Jason Garrett-Glaser <jason at x264.com> | Mon Jan 31 13:56:23 2011 -0800| [dce07ee72fa8833d3b70125983d447ce2b63ed1d] | committer: Jason Garrett-Glaser

Bump yasm version requirement to handle AVX

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

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

diff --git a/configure b/configure
index af0a699..8c4cf3a 100755
--- a/configure
+++ b/configure
@@ -470,10 +470,10 @@ if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o
 fi
 
 if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then
-    if ! as_check "lzcnt eax, eax" ; then
+    if ! as_check "vpaddw xmm0, xmm0, xmm0" ; then
         VER=`($AS --version || echo no assembler) 2>$DEVNULL | head -n 1`
         echo "Found $VER"
-        echo "Minimum version is yasm-0.6.2"
+        echo "Minimum version is yasm-0.7.0"
         echo "If you really want to compile without asm, configure with --disable-asm."
         exit 1
     fi



More information about the x264-devel mailing list