This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Benchmarks gcc 3.0.4 (soon 3.1) vs. Intel C++ 6.0
- From: "Scott Robert Ladd" <scott at coyotegulch dot com>
- To: "Jack Lloyd" <lloyd at acm dot jhu dot edu>, "Gcc at Gnu dot Org" <gcc at gnu dot org>
- Date: Thu, 9 May 2002 11:34:54 -0400
- Subject: RE: Benchmarks gcc 3.0.4 (soon 3.1) vs. Intel C++ 6.0
> I just yesterday got a copy of Intel C++ 6.0 and compiled benchmarks of a
> bunch of integer heavy code (virtually no fp used). I found GCC
> 3.0.4 to be
> significantly faster.
>
> GCC: -O3 -fomit-frame-pointer -fstrict-aliasing -march=athlon
> ICC: -O2 -tp i686 -ip
>
> YMMV and all that. -Jack
You should try these options for icc:
-O3 -axK -ip
Using -O2 and without -axK, you're not optimizing to icc's full ability, at
least for Pentium-III and IV processors. Of course, you're running on an
Athlon, so your mileage may most certainly vary.
..Scott