Intel C++ vs G++ (was: rpm --initdb)
On Tuesday 20 August 2002 05:37 pm, Bob Proulx wrote:
> Another heads up. One of the ways the Intel compiler is getting
> performance is by inline expansion of code. Compile a hello world C
> program, the same as C++, using both gcc and ecc. Then compare the
> binary file sizes. The Intel compiler is producing a very large
> executable by comparison. The things done for SpecINT. ;-)
Actually, I didn't notice any consistent performance improvement on a P3 Xeon.
I was comparing
icc -O2 -xi
and
g++-3.2 -O2 -fomit-frame-pointer
Sometimes Intel is faster, sometimes G++.
Cheers,
Oleg
Reply to: