Brian Budge <[EMAIL PROTECTED]> writes:

>> > What is exactely the benefit of ICC ?
>> 
>> It produces _much_ faster code than gcc (even the very latest 3.4-stuff)
>> for most applications I have tested.

> Interesting... what flags were you using for the two compilers?  Which 
> version of ICC where you using?
>
> I haven't noticed more than maybe a 10% difference, and I like the ability 
> to use the more standards compliant gcc...

I used '-O3 -march=pentium2' on both compilers. ICC 7.1 build 20030307Z.

One of my test programs is the SimH VAX-emulator. It runs about 15
percent faster when compiled with ICC, which is very noticable. My
implementation of Bruce Schneier's Solitaire encryption algorithm also
runs much faster.

Is it worth it? In some cases yes, in some cases no. As to which is more
standards compliant, I wouldn't know. They seem about equal when it
comes to C, and I don't use C++.
-- 
Hilsen Harald.

--
[EMAIL PROTECTED] mailing list

Reply via email to