[FFmpeg-cvslog] configure: x86: Only enable cpunop on i686

Diego Biurrun git at videolan.org
Mon May 13 11:46:24 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Apr 26 16:49:03 2013 +0200| [2c2c48a9bdbef51177204dfc2f151f3be257f9b8] | committer: Diego Biurrun

configure: x86: Only enable cpunop on i686

The assembler may insert nopl instructions for cpunop, which are not
(universally) supported on i586 CPUs.

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

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

diff --git a/configure b/configure
index 5e8e70e..b67a8bf 100755
--- a/configure
+++ b/configure
@@ -3431,7 +3431,7 @@ EOF
         check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
             die "yasm not found, use --disable-yasm for a crippled build"
         check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
-        check_yasm "CPU amdnop" && enable cpunop
+        check_yasm "CPU amdnop" && enabled i686 && enable cpunop
     fi
 
     case "$cpu" in



More information about the ffmpeg-cvslog mailing list