Date: Thu, 21 Mar 2002 09:03:54 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: "David E. O'Brien" <obrien@FreeBSD.org> 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: <20020321085806.M11660-100000@gamplex.bde.org> In-Reply-To: <200203201755.g2KHtDX35438@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Mar 2002, David E. O'Brien wrote: > obrien 2002/03/20 09:55:10 PST > > Modified files: > sbin/camcontrol camcontrol.c modeedit.c > sbin/dumpfs dumpfs.c > ... > 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. Bruce 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?20020321085806.M11660-100000>