At 11:04 AM 11/17/2004, you wrote:
>I was somewhat surprised that, by default, CodeWarrior disables 4->byte int in the 68k Processor setting.
>
>Is there a performance hit if I enable this?


I've read that the Dragonball (68k-compatible) processors use a 16-bit data bus. So, operations on 32-bit data would require twice as many transfers between the processor and memory (compared to using 16-bit data). So I expect it would run a bit slower, though I don't have any data to say how much slower.

Don't turn this option on unless you really know what you're doing. This changes the default type of numbers, and causes math to be done in 32-bit rather than 16-bit. The big issue is calling a function like StrPrintF where number conversions may not match the format string.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to