Re: [AD] SF.net SVN: alleg:[11840] allegro/branches/4.9

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


On Sat, 2009-03-14 at 16:55 +0100, Milan Mimica wrote:
> Elias Pschernig wrote:
> > 
> > Using (int)x as float conversion:
> > 
> > Time = 0.497816 s, FPS = 602.632
> > 
> > Using current SVN:
> > 
> > Time = 0.544217 s, FPS = 551.251
> > 
> > So I guess current SVN is best, it's about 10% slower on HW which is
> > fast anyway, but a lot faster on slow HW - so in total better to use the
> > float conversion trick.
> 
> Strange how I don't get any speed difference on Pentium M 1.73
> 
> Time = 1.11446 s, FPS = 269.188
> 

How much do you get when using (int)x? (Edit it in
include/allegro/internal/ainterh_float.h). I would expect int-conversion
to be slower with anything using the 387 floating point instructions,
but faster with MMX instructions.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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