[FFmpeg-cvslog] configure: Fix miscompilation for i586

Mikulas Patocka git at videolan.org
Fri Sep 12 22:57:49 CEST 2014


ffmpeg | branch: master | Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz> | Fri Sep 12 22:29:29 2014 +0200| [cdb3eee7c496f763d195de34be7f67783b98fb2c] | committer: Michael Niedermayer

configure: Fix miscompilation for i586

If the CPU is 386, 486 or pentium, we must not use cmov in inline
assembler.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 7a711a2..b39b6d3 100755
--- a/configure
+++ b/configure
@@ -3842,6 +3842,7 @@ elif enabled x86; then
     case $cpu in
         i[345]86|pentium)
             cpuflags="-march=$cpu"
+            disable i686
             disable mmx
         ;;
         # targets that do NOT support nopl and conditional mov (cmov)



More information about the ffmpeg-cvslog mailing list