Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2000 19:37:01 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Scott <gsi22419@gsaix2.cc.GaSoU.EDU>
Cc:        Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>, shannon stees <shadyshay@hotmail.com>, questions@FreeBSD.ORG
Subject:   Re: researching FreeBSD
Message-ID:  <20000508193701.A55455@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.A41.3.96.1000508140546.27716A-100000@gsaix2.cc.GaSoU.EDU>
References:  <3916CF65.8BC7835A@tdnet.com.br> <Pine.A41.3.96.1000508140546.27716A-100000@gsaix2.cc.GaSoU.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott wrote:

> This question and your answer makes me wonder.  Are there no ASM
> optimizations that have been made?

Yes, but the vast majority of it is C.

ben@magnesium:~$ locate "/usr/src/*.[Ss]" | wc -l 
     243
ben@magnesium:~$ locate "/usr/src/*.c" | wc -l   
    7127

Don't take this as meaning the ratio of C to assembler is 30:1, since
the .c files may well be much bigger, the .s files are usually just
one routine which has been optimized (e.g. some libc functions in
/usr/src/lib/libc/i386).  There is almost certainly more C and less
assembler than 30:1.

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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