Disable MMX for i686 and pentiumpro
authorMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 13:46:45 +0000 (13:46 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 26 Aug 2010 13:46:45 +0000 (13:46 +0000)
Originally committed as revision 24946 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index d141089..e028ebc 100755 (executable)
--- a/configure
+++ b/configure
@@ -2105,8 +2105,14 @@ elif enabled x86; then
             cpuflags="-march=$cpu"
             disable cmov
         ;;
+        i686|pentiumpro)
+            cpuflags="-march=$cpu"
+            enable cmov
+            enable fast_cmov
+            disable mmx
+        ;;
         # targets that do support conditional mov (cmov)
-        i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona|atom)
+        pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10|barcelona|atom)
             cpuflags="-march=$cpu"
             enable cmov
             enable fast_cmov