[Top][All Lists]

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

RE: [avr-gcc-list] volatile...

From: Larry Barello
Subject: RE: [avr-gcc-list] volatile...
Date: Sat, 16 Dec 2006 08:55:20 -0800

gcc-armxxx places "volatile" data outside the cache...  so it must be a
compiler dependent feature.  Always best to examine the resulting assembly
to make sure your assumptions are correct :)

| -----Original Message-----
| From: address@hidden [mailto:avr-gcc-
| address@hidden On Behalf Of Graham Davies
| On the subject of volatile isn't enough and straying further from AVR,
| remember that if your machine has a data cache you need to figure out how
| to
| not have the cache between you and a hardware register.  This varies by
| and there is nothing in the language to help you with this.

reply via email to

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