Changeset: 9c53c68c096a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=9c53c68c096a
Modified Files:
configure.ag
Branch: default
Log Message:
configure: optimise as aggressively on Sparc Solaris as on Intel
Push the limit -- real hard -- on Sparc Solaris when we use a "sane"
compiler, that is, not the system provided gcc-3.3. See what the effect
of this is after a run. Perhaps we have to make this a bit less
aggressive.
diffs (21 lines):
diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1032,10 +1032,16 @@
dnl did not check the exact version, but 4.1 has
it, while 3.4.5 does not.
esac
;;
- *-sun-solaris*) CFLAGS="$CFLAGS -O2 -fomit-frame-pointer
-finline-functions"
+ *-sun-solaris*)
if test "$bits" = "64" ; then
NO_INLINE_CFLAGS="$NO_INLINE_CFLAGS -O1"
fi
+ case "$gcc_ver" in
+ 4.*)
+ CFLAGS="$CFLAGS -O6
-fomit-frame-pointer -finline-functions -malign-loops=4 -malign-jumps=4
-malign-functions=4 -fexpensive-optimizations -funroll-all-loops
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -ftree-vectorize";;
+ *)
+ CFLAGS="$CFLAGS -O2
-fomit-frame-pointer -finline-functions";;
+ esac
;;
*irix*) CFLAGS="$CFLAGS -O6 -fomit-frame-pointer
-finline-functions"
;;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list