Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 1999 22:02:15 -0800 (PST)
From:      "Richard J. Dawes" <rjdawes@physics.ucsd.edu>
To:        Andrew Reilly <andrew@lake.com.au>
Cc:        dillon@apollo.backplane.com, sjr@home.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Use of "register" in code
Message-ID:  <Pine.SOL.3.96.990315215657.19926A-100000@huntington>
In-Reply-To: <19990316052524.40662.qmail@areilly.bpc-users.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Mar 1999, Andrew Reilly wrote:

> Of course it is.  It's one of the principle reasons that Fortran can
> still generate tighter inner loop code than straight-forward C.  The
> handbook of numerical C code says in big letters: fetch to register
> temporaries if a value is to be re-used, and use register variables for
> all pointers and indices.

Umm, are you refering to "Numerical Recipes in C"?  That tome is well-
known for its out-of-date C advice, not to mention obsolete algorithms.

Just a tip.  Sorry for going off-topic.

========================================
Richard J. Dawes	rdawes@ucsd.edu
========================================



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.990315215657.19926A-100000>