Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/sgimips/sgimips



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@localhost>
NetBSD Support and Service:         http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index