From owner-freebsd-arch@FreeBSD.ORG Tue Nov 11 09:09:02 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 139CC16A4CE for ; Tue, 11 Nov 2003 09:09:02 -0800 (PST) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B0743FA3 for ; Tue, 11 Nov 2003 09:09:00 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd01.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1AJc0h-0005bp-01; Tue, 11 Nov 2003 18:08:59 +0100 Received: from Andro-Beta.Leidinger.net (E6+992Za8eFgB52Xpi+pl0a9U5hXyaLN9ogBCmWV-eBqKZHcPy-yEZ@[217.83.23.62]) by fmrl01.sul.t-online.com with esmtp id 1AJc0A-1qzByK0; Tue, 11 Nov 2003 18:08:26 +0100 Received: from Magelan.Leidinger.net (Magellan [192.168.1.1]) hABH8Jsm093771 for ; Tue, 11 Nov 2003 18:08:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.10/8.12.10) with SMTP id hABH8dkP070976 for ; Tue, 11 Nov 2003 18:08:39 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Tue, 11 Nov 2003 18:08:39 +0100 From: Alexander Leidinger To: freebsd-arch@freebsd.org Message-Id: <20031111180839.233332ca.Alexander@Leidinger.net> In-Reply-To: <3FB10386.8030802@rodal.no> References: <20031110222221.36a11979.Alexander@Leidinger.net> <20031111153142.GA42684@gvr.gvr.org> <3FB10386.8030802@rodal.no> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: E6+992Za8eFgB52Xpi+pl0a9U5hXyaLN9ogBCmWV-eBqKZHcPy-yEZ@t-dialin.net 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 17:09:02 -0000 On Tue, 11 Nov 2003 16:43:02 +0100 Morten Rodal wrote: > 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. It depends on the benchmarks you do and if they are optimized for a specific compiler or not (I don't want to implicate, that those benchmarks which show a large benefit for icc to be optimized for icc, generally I think icc produces better code than gcc, but as usual, this depends on the used code and the used data which gets processed (you know: benchmarks data != real world data you are confronted with) and many more factors than only the compiler). > 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. Yes, it produces nice warnings. If some is interested (and isn't willing to download the >60 MB icc tarball) I can put up the log of a compiled GENERIC or LINT kernel (or a subsystem) for download. This isn't the same as seeing the warnings/errors at development time, but I think could be still usable. Bye, Alexander. -- The best things in life are free, but the expensive ones are still worth a look. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7