[Top] [All Lists]

Re: Build failure for R3000 DECstation

To: Ralf Baechle <>
Subject: Re: Build failure for R3000 DECstation
From: "Maciej W. Rozycki" <>
Date: Wed, 15 Nov 2000 12:18:57 +0100 (MET)
Cc: Harald Koerfgen <>,
In-reply-to: <>
Organization: Technical University of Gdansk
On Wed, 15 Nov 2000, Ralf Baechle wrote:

> Make that change k0 to a non-zero value.  So a R3000 UP spinlock can look
> like:
>       move    k0, zero
>       li      t0, 1
> 0:    sw      t0, spin
>       bnez    k0, 0b
>       [critical section]
>       sw      zero, spin

 Great! -- I haven't thought of such a solution.  I'll prepare some code
and see whether there are no races.  It should work fine, indeed.

> (Who should write thousant times ``I shall not post with a phone in my hand'')


+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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