To avoid the generation of 32 bit multiplies in release, I must change
from optimisations level 4 to optimisations level 1. But there is another
issue that seems not to change even after. I use an array with a 16 bit
index, like:

    unsigned short n;
    for(n=0;n<NumNames;n++)
        //do something with ObjectNames[n]

    The generated code is calling the same __lmul__ routine in release, and
in debug it's working correctly. What can be the cause? Should I turn off
the optimisations because of this? I have these portions of code in time
critical loops and they need to be fast.

    PS: I use CW 8.0 not 9.0 yet





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

Reply via email to