From 0a6cf0afdc9dc1130f679ffdf42a75912d3a2bd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Thu, 26 Aug 2010 13:46:45 +0000
Subject: [PATCH] Disable MMX for i686 and pentiumpro

Originally committed as revision 24946 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index d141089dfc4..e028ebc0b9b 100755
--- 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
-- 
GitLab