Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4NNjAM27544 for linux-mips-outgoing; Wed, 23 May 2001 16:45:10 -0700 Received: from mx.mips.com (mx.mips.com [206.31.31.226]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f4NNj9F27541 for ; Wed, 23 May 2001 16:45:09 -0700 Received: from newman.mips.com (ns-dmz [206.31.31.225]) by mx.mips.com (8.9.3/8.9.0) with ESMTP id QAA15794; Wed, 23 May 2001 16:45:02 -0700 (PDT) Received: from Ulysses (ulysses [192.168.236.13]) by newman.mips.com (8.9.3/8.9.0) with SMTP id QAA10153; Wed, 23 May 2001 16:44:58 -0700 (PDT) Message-ID: <011501c0e3e3$007c4780$0deca8c0@Ulysses> From: "Kevin D. Kissell" To: "Maciej W. Rozycki" Cc: "Joe deBlaquiere" , References: Subject: Re: MIPS_ATOMIC_SET again (Re: newest kernel Date: Thu, 24 May 2001 01:49:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-linux-mips@oss.sgi.com Precedence: bulk > > parts, the latter is more efficient for contemporary parts. Those > > of us who work on recent and future designs will always tend > > to favor the latter - what's the point of using MIPS32/MIPS64 > > and beyond CPUs if gnu/Linux binaries are going to treat them > > like R3000s? > > If you work on new processors only, then there is no problem. You > configure your tools to build binaries for systems you use and you'll > never see R3k compatibility code. > > Please do yourself a favor and look at the relevant part of glibc. If > you build glibc (and any other other program that makes use of > _test_and_set()) for ISA II+, the code gets actually inlined with ll/sc > used as expected. > > So the problem is? The problem is that, out in industry, not everyone wants to build their entire userland from source, and nobody particularly wants to deal with the product management problems of making, maintaining, testing, and distributing all the permutations of BE/LE, FP/noFP, LLSC/noLLSC, etc, etc. Kevin K.