I'm not too surprised. First of all, floating point is done in native
ARM (so its relatively fast versus emulating it in 68k code). And I
would guess that the overhead to fetch, decode, and execute the 68k
floating point trap is greater than the time to actually do the floating
point math (so it makes the difference in execution time 'floats versus
doubles' less dramatic).

I haven't benchmarked it... those are just my thoughts.

Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luc Le Blanc
Sent: Wednesday, December 07, 2005 2:48 PM
To: Palm Developer Forum
Subject: Computing on floats faster than doubles?

So far, the tests I have run on an actual device have not shown a
difference, but in principle, is computing on floats faster than
doubles, at least on some devices, given that there is no FPU?


--
Luc Le Blanc
--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to