Date: Wed, 20 Mar 2002 14:56:18 -0800 From: "David O'Brien" <obrien@FreeBSD.org> To: Bruce Evans <bde@zeta.org.au> 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> In-Reply-To: <20020321085806.M11660-100000@gamplex.bde.org>; from bde@zeta.org.au on Thu, Mar 21, 2002 at 09:03:54AM %2B1100 References: <200203201755.g2KHtDX35438@freefall.freebsd.org> <20020321085806.M11660-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020320145618.B87429>