This is the mail archive of the
mailing list for the glibc project.
Re: PATCH: Fix ll/sc for mips (take 3)
- From: Daniel Jacobowitz <dan at debian dot org>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>,Hiroyuki Machida <machida at sm dot sony dot co dot jp>,libc-alpha at sources dot redhat dot com, linux-mips at oss dot sgi dot com
- Date: Fri, 1 Feb 2002 18:01:26 -0500
- Subject: Re: PATCH: Fix ll/sc for mips (take 3)
- References: <20020131231714.E32690@lucon.org> <Pine.GSO.3.96.1020201124328.26449Aemail@example.com> <20020201102943.A11146@lucon.org>
On Fri, Feb 01, 2002 at 10:29:43AM -0800, H . J . Lu wrote:
> On Fri, Feb 01, 2002 at 12:45:02PM +0100, Maciej W. Rozycki wrote:
> > On Thu, 31 Jan 2002, 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.
> > But you lose a chance for something useful being reordered to the slot.
> > That might not necessarily be a "nop". Please don't forget of indents
> > anyway.
> Here is a new patch. I use branch likely to get rid of nops. Please
> tell me which indents I may have missed.
Can you really assume presence of the branch-likely instruction? I
don't think so.
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer