Subject: Re: noreorder
To: None <port-mips@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: port-mips
Date: 04/04/2000 07:00:51
Warner Losh wrote:

> In message <v0422081db50e7eb57a5d@[10.66.51.205]> Erik Fair writes:
> : Can't the GNU MIPS assembler (or whatever) be trusted?
> 
> It can be trusted, but it doesn't know about the hazards associated
> with the m?c0 that some hunks of silicon have.  So, it will happily
> optimize out the nops that you put after the mfc0 before accessing
> data.  That's an excellent time to use .noreorder.

From the wording in "See MIPS Run", it appears that some assemblers
(at least the MIPS one?) didn't even allow nop's unless you were in a
.noreorder block.

Simon.