[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] Missed Optimisation ?
From: |
bob |
Subject: |
Re: [avr-chat] Missed Optimisation ? |
Date: |
Tue, 01 Mar 2011 16:19:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 |
On 01/03/11 16:03, Erik Christiansen wrote:
> Errrrr ... Bob, if "result" is in RAM, and so can't be changed by
> hardware, and interrupts have not been reenabled (we're in an ISR),
> then how can "result" be volatile?
In this case, it could be made non-volatile as it's (now) only read
outside of the interrupt, but it wasn't when I started this and noticed
the code :-)
> If memory serves me, here "volatile" is nearly as good as beer, for
> starting a discussion. :-)
Have to disagree, BEER IS FAR MORE IMPORTANT, especially as it's fast
approaching 'Fasching' (some people would say 'carneval', but that's
more northern), here in the Black Forest.
>> It still seems to me that cheating on a part of the code, but not the
>> other part is a bit screwy :-)
>
> We have too few maintainers for the avr port, and the rest of us are
> grateful to them, but not enough to compete for the job of making a good
> tool "perfect". Oh, and I wonder if there are more little corner cases
> than we would like to tackle.
Fully agree
> It doesn't do any harm to keep one's assembler skills honed, and the
> ISRs are usually short enough to be easily done, barring surprises.
Ditto
Cheers Erik,
Bob
- Re: [avr-chat] Missed Optimisation ?, (continued)
- Re: [avr-chat] Missed Optimisation ?, Alex Eremeenkov, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Graham Davies, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Erik Christiansen, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, bob, 2011/03/01
- RE: [avr-chat] Missed Optimisation ?, Colin O'Flynn, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Graham Davies, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Erik Christiansen, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?,
bob <=
- Message not available
- [avr-chat] Re: Fasching, bob, 2011/03/02
- Re: [avr-chat] Re: Fasching, Erik Christiansen, 2011/03/02
- Re: [avr-chat] Missed Optimisation ?, Graham Davies, 2011/03/01
- RE: [avr-chat] Missed Optimisation ?, Colin O'Flynn, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Graham Davies, 2011/03/01
- Re: [avr-chat] Missed Optimisation ?, Michael Hennebry, 2011/03/01
RE: [avr-chat] Missed Optimisation ?, Boyapati, Anitha, 2011/03/02
RE: [avr-chat] Missed Optimisation ?, Boyapati, Anitha, 2011/03/02
Re: [avr-chat] Missed Optimisation ?, bob, 2011/03/01
Re: [avr-chat] Missed Optimisation ?, bob, 2011/03/01