[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] '-morder' option with Avr-libc: comparison table
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] '-morder' option with Avr-libc: comparison table |
Date: |
Mon, 14 Jan 2008 12:37:04 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Monday, January 14, 2008 12:30 PM
> To: address@hidden
> Subject: Re: [avr-gcc-list] '-morder' option with Avr-libc:
> comparison table
>
> "Weddington, Eric" <address@hidden> wrote:
>
> > -frename-registers: "This optimization will most benefit processors
> > with lots of registers.", which the AVR qualifies for "lots of
> > registers".
>
> Yes, sure, it is. But that's also what makes debugging highly
> optimized code a little annoying to those people who are used to
> architectures with almost no free registers, where all your C
> variables are usually reflected 1:1 in RAM.
Sure, that's the trade-off. I just wasn't aware of that switch, and that
it does seem to help make smaller code in certain cases. It would be
nice to know if it is a consistent win on code size for the AVR.
Eric W.