Date: Thu, 25 Oct 2001 23:14:27 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Luigi Rizzo <rizzo@aciri.org> Cc: John Baldwin <jhb@FreeBSD.org>, Jonathan Lemon <jlemon@FreeBSD.org>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org> Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c Message-ID: <20011025231245.K549-100000@salmon.nlsystems.com> In-Reply-To: <20011025143748.C57392@iguana.aciri.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Oct 2001, Luigi Rizzo wrote: > On Thu, Oct 25, 2001 at 10:33:58PM +0100, Doug Rabson wrote: > >>> Aargh. I really shouldn't do late night commits. Remove a floating point > >>> multiply, and replace it with a close equivalent. 1.488 =~ 1.5 > >> > >> Heh. Floating point in the kernel is bad.. mmmkay? > > > > Its perfectly fine on ia64 though - integer multiplies are done with float > > registers... > > does it mean that integer multiply in the kernel is bad on the ia64 :) Not really - its reasonably quick. They just didn't bother to add any integer multipliers when there were two perfectly good floating point units going idle. Moving integers in and out of float registers is quick and easy so it actually makes sense. Divides are done with floating point too. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 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?20011025231245.K549-100000>