Re: Patches to compile the kernel with Intel's C/C++ compiler
From: Alexander Leidinger (Alexander_at_Leidinger.net)
Date: 11/11/03
- Previous message: Alexander Leidinger: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- In reply to: Morten Rodal: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- Next in thread: Alexander Leidinger: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 Nov 2003 18:08:39 +0100 To: freebsd-arch@freebsd.org
On Tue, 11 Nov 2003 16:43:02 +0100
Morten Rodal <morten@rodal.no> 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
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Alexander Leidinger: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- In reply to: Morten Rodal: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- Next in thread: Alexander Leidinger: "Re: Patches to compile the kernel with Intel's C/C++ compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Need kernel patch to compile with Intel compiler
... > the kernel is all about method, i.e., procedures. ... Last time I checked
gcc catched the intel compiler ... It is all a matter of knowing the default options
that icc uses; ... (Linux-Kernel) - Re: GCC compiler for ARM7-TDMI
... compiler vendors site but you trust this compiler vendor who just did ... has
to defend the GCC. ... So these trustworthy benchmarks do things to favour the GCC
compiler.... ... configuring and building the system work out the cost... ... (comp.arch.embedded) - Re: Opinions on Rowley CrossWorks for ARM
... Hardly I would not recommend GCC for embedded use. ... However there is a tendency
for GCC advocates to automatically dismiss any criticism of Gcc that comes from anyone who is involved
in anyway with any commercial compiler. ... The only benchmarks the Gcc supporters
would except were the ones that showed Gcc was as good as all the commercial compilers and ignored the
fact that the benchmarks were from a commercial company that provided Gcc ... can't reason
with religion. ... (comp.arch.embedded) - Re: Compiler Companies in Australia
... This should not become a flame war there is a place for GCC by ... I disagree
with the claim that commercial compiler ... if you use some real benchmarks such
as MiBench or the TI ... (comp.compilers) - Re: GCC compiler for ARM7-TDMI
... compiler vendors site but you trust this compiler vendor who just did ... has
to defend the GCC. ... I suppose one could be forgiven for thinking that the benchmarks
at some ... (comp.arch.embedded)