From owner-freebsd-current Sat Nov 10 20:10:27 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 0190237B41D for ; Sat, 10 Nov 2001 20:10:21 -0800 (PST) Received: (qmail 64815 invoked from network); 11 Nov 2001 04:10:20 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Nov 2001 04:10:20 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20011111111640.M22418-100000@delplex.bde.org> Date: Sat, 10 Nov 2001 20:09:59 -0800 (PST) From: John Baldwin To: Bruce Evans Subject: Re: kernel won't build - atomic.c/atomic.h errors... Cc: Jim Bryant , current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 11-Nov-01 Bruce Evans wrote: > On Sat, 10 Nov 2001, John Baldwin wrote: > >> On 08-Nov-01 Bruce Evans wrote: >> > The i386 still uses archaic constraints for some >> > input-output operands ("0" for the first operand). These never worked >> > right and if fact don't actually work for compiling this file without >> > optimization. >> >> Hmm, would you prefer this diff then, I've had it floating around for a >> while >> now but wasn't sure it was right: > > Yes, it is right provided all the operand renumbering is right. I suppose > it can't be checked simply by comparing all objects, because it sometimes > changes the register allocation? Not sure, but I've actually been using it in a test tree since at least October 3. I think I had used it before then as well, so it is probably fine. > There are a couple more "0"s in atomic_cmpset_int(), and many more in other > files (even in cpufunc.h). Hmm, I'll put these on my todo list then. > Bruce -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message