svn commit: r247460 - head/sys/dev/acpica

Alexey Dokuchaev danfe at FreeBSD.org
Fri Mar 1 02:46:41 UTC 2013


On Thu, Feb 28, 2013 at 07:37:32PM +0200, Alexander Motin wrote:
> SBT_1US is 4294 (0x10c6). The best that compiler may do is replace
> division with multiplication. In fact, Clang even does this on amd64.
> But on i386 it calls __divdi3(), doing 64bit division in software. Shift
> is definitely cheaper and 5% precision is fine here.

I see, thanks for explanation.  I overlooked SBT_1US definition.

./danfe


More information about the svn-src-all mailing list