From owner-cvs-all Wed Mar 20 14:57:45 2002 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 485E737B448; Wed, 20 Mar 2002 14:57:33 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g2KMvYlv089724; Wed, 20 Mar 2002 14:57:34 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g2KMuIWe089556; Wed, 20 Mar 2002 14:56:18 -0800 (PST) Date: Wed, 20 Mar 2002 14:56:18 -0800 From: "David O'Brien" To: Bruce Evans Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/camcontrol camcontrol.c modeedit.c src/sbin/dumpfs dumpfs.c src/sbin/fsck_ffs dir.c fsutil.c inode.c pass1.c pass1b.c pass2.c pass4.c pass5.c preen.c setup.c Message-ID: <20020320145618.B87429@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <200203201755.g2KHtDX35438@freefall.freebsd.org> <20020321085806.M11660-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020321085806.M11660-100000@gamplex.bde.org>; from bde@zeta.org.au on Thu, Mar 21, 2002 at 09:03:54AM +1100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Mar 21, 2002 at 09:03:54AM +1100, Bruce Evans wrote: > > Log: > > Remove 'register' keyword. > > It does not help modern compilers, and some may take some hit from it. > > (I also found several functions that listed *every* of its 10 local vars with > > "register" -- just how many free registers do people think machines have?) > > Most machines designed after 1978 (8?) other than i386's have many. > Programmers declared almost all local variables as register to encourage the > compiler to keep as many as possible in registers. The key word I used was _FREE_, as in not being used for temparies, and other operations. :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message