From owner-freebsd-questions Mon May 8 13:31:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 8D3C037BA10 for ; Mon, 8 May 2000 13:31:13 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12osOs-000Mve-00; Mon, 08 May 2000 19:37:02 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12osOs-0002DO-00; Mon, 08 May 2000 19:37:02 +0100 Date: Mon, 8 May 2000 19:37:01 +0100 From: Ben Smithurst To: Scott Cc: Gustavo Vieira Goncalves Coelho Rios , shannon stees , questions@FreeBSD.ORG Subject: Re: researching FreeBSD Message-ID: <20000508193701.A55455@strontium.scientia.demon.co.uk> References: <3916CF65.8BC7835A@tdnet.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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