Hi All
I would like to know more about the parameter passing method (Standard / Compact / Register) in the ColdFire processor setup (CW 6.3).
Using compact a reference code is 59k in size.
Using Register it is about 53k in size.
However the code doesn't run reliably when register passing is activated. (Eg. FTP server becomes unreliable - transfers often hang, which never happens with compact].
Any ideas what could make a program less reliable? Where can the user of register passing possibly cause problems?
Best regards
Mark Butcher
www.mjbc.ch / www.uTasker.com
Message Edited by CrasyCat on 2007-04-13 11:33 AM
Hi CrasyCat
Thanks for the tips, which we will look into in detail.
It will be good if we can find a way to successfull yuse this option because it allows around 10% code size reduction and possibly/probably useful speed improvement to go with it.
The code size of ColdFire programs is rather larger that ARM in thumb mode and this would be a useful improvement to close the gap.
Regards
Mark Butcher
www.mjbc.ch / www.uTasker.com