[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] possible 4.1.2 bug
From: |
John Regehr |
Subject: |
Re: [avr-gcc-list] possible 4.1.2 bug |
Date: |
Wed, 28 Mar 2007 22:30:59 -0600 (MDT) |
Doh. I figured that this sort of constraint would be implicit from the
instructions used. Thanks!
John Regehr
On Thu, 29 Mar 2007, Joerg Wunsch wrote:
> John Regehr <address@hidden> wrote:
>
> > I'm not at all sure that the asm is correct (didn't write it) but it
> > seems that gcc shouldn't be picking an unusable register in any
> > case.
>
> The constraint "r" says: "You are free to pick *any* register." As
> your instruction requires an "upper register" (r16 through r31), you
> simply need to tell that: make the constraint of the second argument
> "d", and it will work.
>
> --
> 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
>