[gambit-list] Guile's new compiler
Guillaume Cartier
gcartier at jazzscheme.org
Sun Nov 8 10:08:07 EST 2015
Great results Brad!
Could you also include the time to build Gambit in your results. For me,
build time is an important factor in any decision to use an optimization.
Thanks,
Guillaume
On Sun, Nov 8, 2015 at 7:28 AM, Adam <adam.mlmb at gmail.com> wrote:
> Is this a measurement of the impact of elevation of max-gcse-memory from
> 50MB to 1GB on the execution speed of compiled code?
>
> What do the first and second columns describe, etotal execution time for
> the 50MB and 1MB cases?
>
>
> 2015-11-08 11:50 GMT+08:00 Bradley Lucier <lucier at math.purdue.edu>:
>
>> I just rebuilt Gambit with
>>
>> firefly:~/programs/gambit/gambit-v4_8_1-devel/bench> ./configure 'CC=gcc
>> -march=native -Wdisabled-optimization -Wall -W --param
>> max-gcse-memory=1000000000' '--enable-single-host'
>> '--enable-multiple-versions' '--enable-shared' --enable-c-opt
>>
>> and got the results at the bottom, which are uniformly better than the
>> old results.
>>
>> The -Wdisabled-optimization line showed me that GCSE wasn't being done,
>> and after looking at gcse.c in the gcc sources I saw that I needed to
>> increase the max-gcse-memory from 50 MB (found in gcc/params.def) to
>> something bigger. I'm working a machine with 32GB, so I just decided to
>> make it roughly 1GB.
>>
>> Pretty good.
>>
>> Brad
>>
>> ./bench -r 3 -s r6rs-fixflo-unsafe gambit all
>> ./summarize results.Gambit-C-r6rs-fixflo-unsafe
>> (succeed 0 0)
>> (fail )
>> (crash )
>> (browse 892 894)
>> (cpstak 264 266)
>> (ctak 344 344)
>> (dderiv 308 311)
>> (deriv 272 274)
>> (destruc 292 293)
>> (diviter 292 293)
>> (divrec 388 390)
>> (puzzle 144 147)
>> (takl 140 141)
>> (trav1 180 183)
>> (trav2 688 689)
>> (triangl 308 312)
>> (fft 76 79)
>> (fib 212 214)
>> (fibfp 168 169)
>> (mbrot 152 153)
>> (nucleic 64 67)
>> (pnpoly 60 61)
>> (sum 88 89)
>> (sumfp 684 684)
>> (tak 220 220)
>> (tfib 444 444)
>> (ack 160 160)
>> (array1 64 64)
>> (cat 360 361)
>> (string 292 292)
>> (sum1 376 376)
>> (sumloop 1560 1563)
>> (tail 292 294)
>> (wc 168 171)
>> (conform 240 240)
>> (dynamic 228 230)
>> (earley 244 243)
>> (fibc 264 263)
>> (graphs 292 295)
>> (lattice 516 518)
>> (matrix 372 371)
>> (maze 172 169)
>> (mazefun 276 280)
>> (nqueens 288 289)
>> (paraffins 752 756)
>> (peval 280 279)
>> (pi 472 471)
>> (primes 492 492)
>> (ray 100 101)
>> (scheme 332 333)
>> (simplex 112 114)
>> (slatex 164 165)
>> (perm9 300 302)
>> (nboyer 340 339)
>> (sboyer 232 233)
>> (gcbench 752 752)
>>
>> _______________________________________________
>> Gambit-list mailing list
>> Gambit-list at iro.umontreal.ca
>> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>>
>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20151108/c65f8886/attachment.htm>
More information about the Gambit-list
mailing list