[Top] [All Lists]

Re: A new mips toolchain is available

To: Jun Sun <>, "H . J . Lu" <>
Subject: Re: A new mips toolchain is available
From: Harald Koerfgen <>
Date: Wed, 13 Jun 2001 22:55:00 +0200
In-reply-to: <>
Organization: none to speak of
References: <> <> <>
On Wednesday 13 June 2001 20:48, Jun Sun wrote:
> The latest CVS tree removed MIPS_ATOMIC_SET for CPUs without ll/sc.  See
> the diff below.

[diff snipped]

> It seems that the checkin is a mistake because apparently it is not what
> linux-vr is doing.  They used to have a piece of code for CPUs without
> ll/sc. And recently they moved to ll/sc instruction emulation.

Well, you seem to have a different linux-vr tree than I do :-)

> Ralf, the following patch includes the original vr code for
> MIPS_ATOMIC_SET, no ll/sc case.  Although we all know it is buggy (for
> small negative set values), it is still better than nothing.

Anyway, the linux-vr source tree has a partially working ll/sc emulation, at 
least enough for glibc, and MIPS_ATOMIC_SET is not neccessarily needed.
In fact, MIPS_ATOMIC_SET has been removed from the vr tree.


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