try compile in arm [not thumb], then try using fixed-point math, after
that it's a bit harder.

CW does not do optimizations for floats i belive. it uses a library of
functions that work with floats.

On 6/6/06, Luc Le Blanc <[EMAIL PROTECTED]> wrote:
Maybe someone knows (perhaps Ben ;) about the optimization of float
operations under CodeWarrior 9.3:

Is dividing by 100.0 as fast (or slow) as multiplying by 0.01 ?

Is multiplying by 1.0 costlier than checking for == 1.0 (and then not
multiplying) ?

I am trying to speed up a graph draw procedure that involves a lot of
computations.


--
Luc Le Blanc

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



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: hacker19180
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

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

Reply via email to