[gambit-list] LLVM 3.1 Release

Marc Feeley feeley at iro.umontreal.ca
Thu May 24 13:29:28 EDT 2012


On 2012-05-23, at 11:09 PM, Bradley Lucier wrote:

> Marc:
> 
> LLVM 3.1 has been released; perhaps some of the problems you were seeing while compiling Gambit have been addressed.
> 
> Brad
> 
> http://llvm.org/releases/3.1/docs/ReleaseNotes.html

Here are the updated numbers including clang 3.1 :

**** Execution time of tests/mix.scm when run by gsi

       |    --enable-multiple-hosts      |      --enable-single-host       |
       |                | --enable-c-opt |                | --enable-c-opt |
clang  |  secs    rel   |  secs    rel   |  secs    rel   |  secs    rel   |
-------+----------------+----------------+----------------+----------------+
2.6    |   4.35 ( 1.59) |   4.41 ( 1.61) |   2.74 ( 1.00) |   2.79 ( 1.02) |
-------+----------------+----------------+----------------+----------------+
3.0    |   3.83 ( 1.40) |   3.76 ( 1.37) |   4.49 ( 1.64) |   4.87 ( 1.78) |
-------+----------------+----------------+----------------+----------------+
3.1    |   3.82 ( 1.39) |   3.89 ( 1.42) |   4.32 ( 1.58) |   4.90 ( 1.79) |
-------+----------------+----------------+----------------+----------------+


**** Elapsed time of "make"

       |    --enable-multiple-hosts      |      --enable-single-host       |
       |                | --enable-c-opt |                | --enable-c-opt |
clang  |  secs    rel   |  secs    rel   |  secs    rel   |  secs    rel   |
-------+----------------+----------------+----------------+----------------+
2.6    |   95.7 ( 1.12) |   96.0 ( 1.12) |  694.4 ( 8.10) |  699.1 ( 8.16) |
-------+----------------+----------------+----------------+----------------+
3.0    |  164.3 ( 1.92) |  127.2 ( 1.48) | 4313.0 (50.33) | 1825.3 (21.30) |
-------+----------------+----------------+----------------+----------------+
3.1    |   90.1 ( 1.05) |   85.7 ( 1.00) | 1110.0 (12.95) |  915.7 (10.68) |
-------+----------------+----------------+----------------+----------------+


As you can see there is a small difference in the speed of the interpreter compiled with clang 3.1 and clang 3.0.  However the compilation times are much better (closer to the speed of clang 2.6).  With --enable-single-host, the build time with clang 3.1 is still 3 to 10 times bigger than with gcc 4.7.0 .

Marc



More information about the Gambit-list mailing list