[fpc-pascal] Default compiler options for shootout using fpc 2.2.0

Vincent Snijders vsnijders at vodafonevast.nl
Sun Oct 5 11:09:39 CEST 2008


Florian Klaempfl schreef:
> Vincent Snijders schrieb:
>> What should be the default compiler options for the shootout benchmarks?
>>
>> The used compiler is fpc 2.2.0. The benchmarks are run on a Intel 
>> Q6600 quad-core, either with 32 bits or 64 bits Ubuntu.
>>
>> There is some controversion about it, see 
>> https://alioth.debian.org/tracker/index.php?func=detail&aid=311109&group_id=30402&atid=411002 
>>
>>
>> There are two proposals:
>> -O3oregvar -XX -Xs
>> and
>> -XXs -Oppentiumm -Cppentiumm -O3
> 
> On 32 bit systems
> -XXs -Oppentiumm -Cppentiumm -O3
> 
> On 64 bit systems
> -XXs -O3

If I look at 
http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_2_2_0/compiler/x86_64/cpuinfo.pas?view=markup 
it seems that in fpc 2.2.0 regvars are not enabled. Why not?

Why does it work for Peter Blackman in the mandelbrot benchmark?

Vincent



More information about the fpc-pascal mailing list