This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MS/CW-style inline assembly for GCC


On Fri, 7 May 2004, Daniel Jacobowitz wrote:

> [By the way, I'm surprised to hear that CodeWarrior will schedule
> outside code interleaved with an asm block.  That seems like a really
> bad idea!]

It is a really bad idea.

If you're doing driver-level work, then you need barriers to ensure writes
occur in the correct order and are flushed out properly. If you schedule
other code in between, this may not work properly.

Toshi



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