[Top] [All Lists]

Re: PATCH: Fix ll/sc for mips

To: "H . J . Lu" <>
Subject: Re: PATCH: Fix ll/sc for mips
From: Ralf Baechle <>
Date: Mon, 4 Feb 2002 08:01:45 +0100
Cc: Hiroyuki Machida <>,,,
In-reply-to: <>; from on Thu, Jan 31, 2002 at 11:17:14PM -0800
References: <> <> <> <> <>
User-agent: Mutt/1.2.5i
On Thu, Jan 31, 2002 at 11:17:14PM -0800, H . J . Lu wrote:

> > Gas will fill delay slots. Same object codes will be produced, so I
> > think you don't have to do that by hand. 
> It will make the code more readable. We don't have to guess what
> the assembler will do. 

Generally speaking a MIPS assembler is free to do arbitrary reordering.
In the past there have been non-GNU assembler that were doing more massive
reordering than gcc does ...  Using .set noreorder means you dump the
assembler's intelligence and take full responsibility for dealing with
all interlocks (or the lack thereof) and other performance issues


<Prev in Thread] Current Thread [Next in Thread>