Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 1996 18:33:38 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, coredump@nervosa.com
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, peter@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/isa syscons.c
Message-ID:  <199605270833.SAA28879@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help

>> How much larger and slower does the extra inlining make syscons? ;-)
>> Bruce

>I agree that inlining would definetly make it larger; but slower?

It reduces locality of reference and may displace more important code
from the cache.  A single cache miss costs about the same time as a
function call.

Inlining may also interfere with optimization and result in worse code
generation for more important surrounding code.  This problem is
particularly noticeable on the i386 because there aren't enough
registers.

Bruce



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