Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 19:05:27 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        stas@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, gonzo@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r187251 - head/sys/mips/malta
Message-ID:  <20090114.190527.1058804377.imp@bsdimp.com>
In-Reply-To: <20090115020752.52566769.stas@FreeBSD.org>
References:  <200901142232.n0EMWhGw055895@svn.freebsd.org> <20090115020752.52566769.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20090115020752.52566769.stas@FreeBSD.org>
            Stanislav Sedov <stas@FreeBSD.org> writes:
: > +		shift = 8 * (reg & 3);
: >  
: 
: Would it make sense to replace this with
: > +		shift = (reg & 3) << 3;
: 
: to not rely on possible compiler optimizations?

I don't think that it matters all that much these days...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090114.190527.1058804377.imp>