[gambit-list] Guile's new compiler

Bradley Lucier lucier at math.purdue.edu
Mon Nov 9 16:27:18 EST 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20151109/b9ecba9f/attachment.html>


More information about the Gambit-list mailing list