I am trying to compare the performance of a set of very simple
string to number (integer/double) conversion routines compiled
with ICC and GCC.For example, take the string to integer conversion
code in minisat.
I tried several flag setting for both ICC and GCC and found
that the code produced with ICC consistently ran from 5%
to 10% slower than the same code compiled with GCC.
For ICC I have tried -O3, -O1, -Os.
For GCC (tried several versions up until 4.3.3) used -O3.
What flag settings would you suggest for ICC for this type
Thanks in advance,