[gambit-list] Guile's new compiler

Marc Feeley feeley at iro.umontreal.ca
Wed Nov 11 11:47:25 EST 2015


Really nice!

Could you also compute the geometric means?  That way we could have a single measure of the performance.  This would be helpful to determine what the best options are for various scenarios (fast build vs. slow build).

Marc

> On Nov 9, 2015, at 4:27 PM, Bradley Lucier <lucier at math.purdue.edu> wrote:
> 
> See these results, which indicate also the time to build gambit with each set of options.
> 
> There are many optimizations in gcc that are turned off for "large" functions, where "large" could mean any number of things.  In 2000 I introduced into gcc the -Wdisabled-optimization warning that could allow one to know when an optimization is disabled, and for what reason, but it is implemented internally only in global common subexpression elimination and in constant propagation.
> 
> So using --enable-single-host, which generates a single C routine from a Scheme source file, quietly disables many optimizations even when --enable-c-opt is enabled and -Wdisabled-optimization is specified.
> 
> These results seem to indicate that applying the -O2 gcc optimizations on code without --enable-single-host is often faster than code with --enable-single-host, even with --enable-c-opt.
> 
> Brad
> 
> <bench-hacked.html>




More information about the Gambit-list mailing list