From owner-freebsd-arch@FreeBSD.ORG Tue Nov 11 07:43:21 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F31A16A4CE for ; Tue, 11 Nov 2003 07:43:21 -0800 (PST) Received: from ray.idi.ntnu.no (ray.idi.ntnu.no [129.241.107.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C78143FCB for ; Tue, 11 Nov 2003 07:43:19 -0800 (PST) (envelope-from morten@rodal.no) Received: from hauk10.idi.ntnu.no (hauk10.idi.ntnu.no [129.241.102.222]) by ray.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id hABFhCDG017546; Tue, 11 Nov 2003 16:43:13 +0100 (MET) Received: from rodal.no (localhost [127.0.0.1]) by hauk10.idi.ntnu.no (8.12.10/8.12.10) with ESMTP id hABFhCkX059374; Tue, 11 Nov 2003 16:43:12 +0100 (CET) (envelope-from morten@rodal.no) Message-ID: <3FB10386.8030802@rodal.no> Date: Tue, 11 Nov 2003 16:43:02 +0100 From: Morten Rodal User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031026 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Guido van Rooij References: <20031110222221.36a11979.Alexander@Leidinger.net> <20031111153142.GA42684@gvr.gvr.org> In-Reply-To: <20031111153142.GA42684@gvr.gvr.org> X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8755C425D82B4229942B4A26" X-Spam-Status: No, hits=-8.2 required=4 X-Virus-Scanned: by amavisd-new-IDI cc: arch@freebsd.org Subject: Re: Patches to compile the kernel with Intel's C/C++ compiler X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 15:43:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8755C425D82B4229942B4A26 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Guido van Rooij wrote: > On Mon, Nov 10, 2003 at 10:22:21PM +0100, Alexander Leidinger wrote: >>Hi, >> >>at http://www.leidinger.net/FreeBSD/current-patches/ I have some patches >>which allow to compile the kernel with icc (CC=icc make depend && CC=icc >>make). They are a joint effort of Marius Strobl and me. >> >>The resulting kernel still has some issues (no NFS, some packet loss, >>... see icc.README in the above mentioned directory), but it boots and >>runs. > > > What are the benefits of running an icc compiled kernel? > The Intel C compiler is known to generate far better code for the Pentium 4 processor family (and more likely the Itanium processors), and probably others as well. It certanly beats gcc in most benchmark tests and other scientific applications. I have found that icc generates far more, and more accurate, warnings and errors for programs and this is probably what the FreeBSD kernel could benefit most from. Having more than one compiler helps the developers find bugs faster. -- Morten Rodal --------------enig8755C425D82B4229942B4A26 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/sQOPbWe1Cy11WVsRAh3wAKCrznjz9+t8otwIwROf09tTEKGPEACg0Vfs nI4a0uTl0LffuEfcndbc9z8= =qr6Z -----END PGP SIGNATURE----- --------------enig8755C425D82B4229942B4A26--