Now that 0.6 finally compiles on 3.3.6 without hacking, I'm thinking why not 
change the -march=i586 flag to -march=i686 when appropriate? The performance 
difference seems to be somewhat noticable and I believe most of us are 
running it on i686 anyway. Something that resembles a patch below in case 
someone's feeling too tired :)

--- configure.in~       Fri May 18 15:40:15 2001
+++ configure.in        Sun May 20 20:44:21 2001
@@ -101,7 +101,16 @@
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(ftime gettimeofday strdup strstr setenv unsetenv scandir nanosleep)
 
-DEFAULT_FLAGS=" -g -O2 -march=i586 "
+ORIG_DEFAULT_FLAGS=" -g -O2 "
+
+ case "$target" in
+   i686*)
+    DEFAULT_FLAGS="$ORIG_DEFAULT_FLAGS -march=i686 "
+    ;;
+   *)
+    DEFAULT_FLAGS="$ORIG_DEFAULT_FLAGS -march=i586 "
+    ;;
+ esac
 
 if test "x$CFLAGS" = "x-g -O2" ; then
   CFLAGS="$DEFAULT_FLAGS"

Reply via email to