[gambit-list] Suggestion for a new GCC compiler option
Bradley Lucier
lucier at math.purdue.edu
Tue Aug 25 11:03:54 EDT 2009
On Tue, 2009-08-25 at 13:58 +0000, Alex Queiroz wrote:
> On 8/25/09, Bradley Lucier <lucier at math.purdue.edu> wrote:
> >
> > So I'm asking that people might run the benchmark suite on various
> > architectures after configuring gambit with, e.g.,
> >
> > ./configure CC="gcc -fschedule-insns" --enable-single-host
> >
> > and compare the result to those without adding -fschedule-insns to
> > the command line. I suspect that for both ppc(64) and x86-64 there
> > could be noticeable speedup, but I'm not sure what will happen with
> > arm or some of the other architectures that Gambit might run on.
> >
>
> I did not recompile Gambit-C but built a module of mine with and
> without this option. This module implements searching in game trees
> and uses only fixnum arithmetic. I did got better execution times with
> this option. This is on SPARC with GCC 2.95 (!!!) and:
>
> -Wno-unused -O1 -fschedule-insns -fschedule-insns2
> -fno-strict-aliasing -fomit-frame-pointer -fPIC -fno-common -shared
Thank you for testing it.
Unfortunately, trying to build 4.5.1 with these options results in a gcc
error compiling os_base.c; I've reported this at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41164
It seems to affect the 4.2, 4.3, 4.4, and current development series
gcc. Not so good.
So I guess we wait a bit.
Brad
More information about the Gambit-list
mailing list