changeset 16979:fa1deb4641c2

Configure support for Cyrix C3
author gpoirier
date Sat, 12 Nov 2005 08:25:04 +0000
parents 5e258b21b882
children 4fbf0e0103ab
files ChangeLog configure
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 12 08:15:34 2005 +0000
+++ b/ChangeLog	Sat Nov 12 08:25:04 2005 +0000
@@ -126,7 +126,7 @@
     * -rawaudio/-rawvideo requires -demuxer rawaudio/-demuxer rawvideo
     * libdvdcss updated to 1.2.9
     * ~/.dvdcss is used instead of ~/.mplayer/DVDKeys for cached CSS keys
-    * configure check and compiler optimizations for VIA C3 and Pentium-M
+    * configure check and compiler optimizations for VIA C3, C3-2 and Pentium-M
     * configure check and compiler optimizations for AMD-64 extended
     * configure can now run with cross compiling, new configure option
       --enable-cross-compile
--- a/configure	Sat Nov 12 08:15:34 2005 +0000
+++ b/configure	Sat Nov 12 08:25:04 2005 +0000
@@ -914,6 +914,8 @@
         _mmx2=no
 	if test "$pmodel" -ge 9; then
 		proc=c3-2
+	elif test "$pmodel" -ge 7; then
+		proc=c3
 	else
 		proc=i686
 	fi
@@ -973,7 +975,7 @@
     if test "$proc" = "i686" || test "$proc" = "pentium-mmx" || test "$proc" = "winchip-c6" || test "$proc" = "winchip2"; then
       cc_check -march=$proc $cpuopt=$proc  || proc=i586
     fi
-    if test "$proc" = "i586" || test "$proc" = "c3" ; then
+    if test "$proc" = "i586" || test "$proc" = "c3" || test "$proc" = "c3-2"; then
       cc_check -march=$proc $cpuopt=$proc  || proc=i486
     fi
     if test "$proc" = "i486" ; then