[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #21623] boot.h: Use the "z" register constraint
From: |
Shaun Jackman |
Subject: |
[avr-libc-dev] [bug #21623] boot.h: Use the "z" register constraint |
Date: |
Wed, 21 Nov 2007 03:49:54 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 |
Follow-up Comment #2, bug #21623 (project avr-libc):
Definitely remove r30 and r31 from the clobber. The spm instruction doesn't
clobber the Z register, since it has the same value going out as coming in. If
it did modify the Z register, it should be listed with a read/write
constraint, as in "+z" or possibly "+&z" if it's an early clobber.
Do you have a small test case for the EEPROM bug you mentioned? I've had no
problem, and I'm using both gcc and avr-libc from head. I use both the EEPROM
API and my flash patch with no trouble. I'm certainly not against more testing
though.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21623>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/