Re: [AD] [ alleg-Bugs-1650580 ] Problem in fixed point library.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 2007-02-06 at 00:42 +1100, Peter Wang wrote:
> 
> I retried the benchmark in that thread, and fixdivl now beats fixdivf on
> my machine by ~10%, where as it was slower by ~15% one and a half years
> ago.  With a couple of other silly benchmarks fixdivl wins by an even
> greater margin.  Probably the only relevant difference to my setup since
> then would be a newer version of gcc (3.4.6 vs 3.3.4).
> 
> Anyone up for some benchmarking?
> 

Results here are:
with -O3 -march=pentium4: fixdivf is ~60% faster
with -O3 -ffast-math: fixdivf is ~10% faster
with -O3: fixdivf is ~10% faster
with -O2: fixdivf is ~10% faster
with -O1: fixdivf is ~10% faster
with -O0: fixdivl is ~250% faster (irrelevant of course)

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/