On Wednesday 23 January 2008 02:24, Weddington, Eric wrote: > Can you tell me how you measured code size and number of cycles?
avr-size --> Size of .text, as there are not any data. (Or avr-objcopy to binary). Number of cycles: simulavr, set stop point ('-B' option) at exit from main() (this is work on both: patched and unpatched avr-gcc) and read the full report after run. (A small script makes all above automaticaly). Regards, Dmitry. P.S. I forget to attach the second file (with dummy functions). Without ones GCC omits a big part of test. Attach now: void dummy1 (float x) { (void)x; } void dummy2 (float x, float y) { (void)x; (void)y; } _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list