[ECOS] code optimizations

Andrew Lunn andrew.lunn@ascom.ch
Thu Aug 23 08:37:00 GMT 2001


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



More information about the Ecos-discuss mailing list