[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Pointers below address 32
From: |
Keith Gudger |
Subject: |
Re: [avr-gcc-list] Pointers below address 32 |
Date: |
Tue, 10 May 2005 06:36:34 -0700 (PDT) |
I've tried it on the original AVRs, and it worked. It doesn't work on
some versions, however... such as the USB ones I work with (AT43USB3xx)...
Keith
On Tue, 10 May 2005, Joerg Wunsch wrote:
> As Björn Haase wrote:
>
> > I never tried it, but is it actually really possible to access
> > registers by using pointer expressions?
>
> At least, it's documented that way.
>
> It's probably one of the lesser tested features, so the only problem
> could be silicon bugs that have never been observed before because
> nobody ever tried it. ;-)
>
> > If that's possible, one could possibly shorten the function
> > prologues and epilogues considerably when optimizing for size.
>
> That sounds like a good idea, but you also need to compare it against
> the -mcall-prologues option (which also trades speed for code size).
>
> --
> cheers, J"org .-.-. --... ...-- -.. . DL8DTL
>
> http://www.sax.de/~joerg/ NIC: JW11-RIPE
> Never trust an operating system you don't have sources for. ;-)
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>