Subject: Re: CVS commit: src/sys/arch/sgimips/sgimips
To: None <sekiya@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 01/12/2004 22:35:11
Christopher SEKIYA wrote:

> Module Name:	src
> Committed By:	sekiya
> Date:		Mon Jan 12 11:30:24 UTC 2004
> 
> Modified Files:
> 
> 	src/sys/arch/sgimips/sgimips: ip2x.c
> 
> Log Message:
> 
> Change one more multiplication to a bit shift.  Pointed out by pooka@.

The compiler will do these optimisations for you.  I haven't looked in
detail at the code in question, but if a "* 8" is clearer than a "<< 3"
then I'd be tempted to leave it as is...

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/