soft-float

Luciano Montanaro mikelima at cirulla.net
Fri Apr 7 10:11:13 CEST 2006


On Friday 07 April 2006 01:59, yan seiner wrote:
> Just a quick note....
>
> I just spent a couple of days porting my entire project to soft-float...
>
> On my ARM platform, this appears to result in a speed increase of about
> 10 - 20%; some things like flash generation appear to be about twice as
> fast...
>
> Nothing special had to be done to the code; just rebuilding the
> toolchain, all libs, kernel, etc, and modifying the various build files
> to include -msoft-float....
>
> We do quite a bit of floating point calcs, in flash generation and
> javascript, so if you don't YMMV...

Well, numbers in javascript are all floating point, from the practical point 
of view. There is a relatively recently added optimization that treats most 
integer numbers as a special case, but I don't think it uses integer math 
for the calculation, so I think asking for soft-float would be an 
improvement, for platform missing floating point hardware.

Luciano


-- 
Łŭčīåñø Montanaro //
              \\ //
               \x/ www.cirulla.net


More information about the konq-e mailing list