RE: [avr-gcc-list] Optimization Problem?

2010-12-30 Thread Boyapati, Anitha
t;Sent: Wednesday, December 29, 2010 11:56 AM >To: avr-gcc-list@nongnu.org >Subject: Re: [avr-gcc-list] Optimization Problem? > >On Wed, 2010-12-29 at 11:48 -0800, Thomas D. Dean wrote: >Sorry, again. I am really doing good with this post. > >>avr-gcc --version >avr-gcc

RE: [avr-gcc-list] Optimization Problem?

2010-12-29 Thread Thomas D. Dean
On Wed, 2010-12-29 at 13:01 -0800, larry barello wrote: > Strange rcalls are a fast way to allocate four bytes on the stack for a > local... Thanks, Larry. Looking thru the code, that is what is happening. tomdean ___ AVR-GCC-list mailing list AVR-G

RE: [avr-gcc-list] Optimization Problem?

2010-12-29 Thread larry barello
To: avr-gcc-list@nongnu.org Subject: Re: [avr-gcc-list] Optimization Problem? On Wed, 2010-12-29 at 11:48 -0800, Thomas D. Dean wrote: Sorry, again. I am really doing good with this post. >avr-gcc --version avr-gcc (GCC) 4.3.4 Copyright (C) 2008 Free Software Foundation, Inc. This is free softw

Re: [avr-gcc-list] Optimization Problem?

2010-12-29 Thread Thomas D. Dean
On Wed, 2010-12-29 at 11:48 -0800, Thomas D. Dean wrote: Sorry, again. I am really doing good with this post. >avr-gcc --version avr-gcc (GCC) 4.3.4 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for M

Re: [avr-gcc-list] Optimization Problem?

2010-12-29 Thread Thomas D. Dean
On Wed, 2010-12-29 at 11:48 -0800, Thomas D. Dean wrote: > > However, using -Os, I see strange code at c8, ca, etc. The poly > calculation and the sin call seem to be below here. The stack is > cleaned correctly by the 4 ea pop r0's. Why the strange rcalls??? > Sorry, should read d0, d2. tomde