This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: code optimizations
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] code optimizations
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Date: Thu, 23 Aug 2001 17:37:40 +0200
- Cc: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- References: <001801c12be8$ccabe930$090110ac@TRENT>
On Thu, Aug 23, 2001 at 09:32:20AM -0600, Trenton D. Adams wrote:
Notice how the code jumps back and forth? This shouldn't
> happen should it?
Have you declared your HW registers as volatile. If not, gcc is
allowed to rearrange the code.
Andrew