avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] [discussion] lpm support in avr-gcc


From: Denis Chertykov
Subject: Re: [avr-gcc-list] [discussion] lpm support in avr-gcc
Date: 27 Aug 2002 21:31:52 +0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

address@hidden (Joerg Wunsch) writes:

> Harald Kipp <address@hidden> wrote:
> 
> > I don't know much about the compiler's internal structure,
> > but I guess, that both suggestions
> > 
> >    1. Automatic recognition of PMEM pointers in assingments
> >    2. Using P modifier for string literals
> > 
> > would require substantial changes, while the current way,
> > using the special attribute progmem, changes the runtime
> > lib only.
> 
> Using __attribute__ is IMHO fine.  But it would be ideal if
> this could automatically make gcc emit lpm instructions
> when accessing these variables.

IMHO: It's impossible for avr port without changes in generic GCC.
So, It's a question to GCC maintainers.
Even Linus has asked about something like this.

Denis.

avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]