[x264-devel] Improve yasm version check

Anton Mitrofanov git at videolan.org
Tue Dec 6 01:00:40 CET 2011


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Sat Oct 22 19:41:07 2011 +0400| [6a0bd421bf5fd006012ddcd1be2072a8736b2d27] | committer: Jason Garrett-Glaser

Improve yasm version check
Previous check allowed certain earlier versions that weren't fully compatible.

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

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

diff --git a/configure b/configure
index de6afd9..a371cae 100755
--- a/configure
+++ b/configure
@@ -631,7 +631,7 @@ 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 "vfmaddps xmm0, xmm0, xmm0, xmm0" ; then
+    if ! as_check "vpperm xmm0, xmm0, xmm0, xmm0" ; then
         VER=`($AS --version || echo no assembler) 2>/dev/null | head -n 1`
         echo "Found $VER"
         echo "Minimum version is yasm-1.0.0"



More information about the x264-devel mailing list