This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: code optimizations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]