Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f4NIFqh17281 for linux-mips-outgoing; Wed, 23 May 2001 11:15:52 -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 f4NIFpF17278 for ; Wed, 23 May 2001 11:15:51 -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 LAA11574; Wed, 23 May 2001 11:15:45 -0700 (PDT) Received: from Ulysses (ulysses [192.168.236.13]) by newman.mips.com (8.9.3/8.9.0) with SMTP id LAA28200; Wed, 23 May 2001 11:15:42 -0700 (PDT) Message-ID: <00ec01c0e3b5$00ab83c0$0deca8c0@Ulysses> From: "Kevin D. Kissell" To: "Joe deBlaquiere" Cc: References: <3B0BF7F8.3050306@redhat.com> Subject: Re: MIPS_ATOMIC_SET again (Re: newest kernel Date: Wed, 23 May 2001 20:20:00 +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 > There's no way to solve the endianness issues, but using emulation to > handle missing instructions (be they floating point or ll/sc, or > what-have-you) solves the minor differences in the instruction set from > the library/application standpoint. If all MIPS processors used the same > instruction set then we wouldn't have the problem at all. Of course > there are very good reasons (and probably some silly ones too...) why > ISAs are tailored. > > The kernel is already going to have to adjust some anyway, so keeping the > differences in the kernel doesn't increase the testing burden. Throwing > the problem over to glibc (and the toolchain) does increase the number > of active configurations. And for the sake of beating a dead horse that perhaps only I can see, there is a philosophical choice that must sometimes be made whether to achieve binary portability by compiling to the lowest-common denominator, or by emulating the missing operations in the OS. The former is more efficient for downrev 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? Kevin K.