MS/CW-style inline assembly for GCC
Tue May 11 00:40:00 GMT 2004
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.
More information about the Gcc