|
From: | Harald Kipp |
Subject: | Re: [avr-gcc-list] Why EthNut2.4.2 should use -Os instead of -O3? |
Date: | Tue, 03 Sep 2002 12:51:39 +0200 |
void NutThreadSwitch(void) __attribute__ ((noinline));
solves this problem. But still the executable is much larger. For AVRs I don't think it's a good idea to make static functions inline. Anyway, changing from -o3 to -os didn't noticably reduce the execution speed of TCP/IP stack. It's still at 2Mbps: A great compiler combined with a great CPU. Harald Kipp avr-gcc-list at http://avr1.org
[Prev in Thread] | Current Thread | [Next in Thread] |