I am very sorry to affirm this, but the CW compiler is totally
out-of-situation sometimes. I really multiply 2 WORD values and it is
generating __lmul__ jumps for that purpose :( I also turned off common
subexpression elimination but no help. I don't really know how to replace
this lines with something to work:
int nRoundScale; //this is always less than 65536
int nDifference; //any value
WORD nLow=(WORD)nDifference;
return ((WORD)nRoundScale)*nLow;
Anybody having some suggestions, other than replacing the current
compiler with GCC? :)
Dan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/