This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-march=i686 on i686 ?!?


Hi all,

lately I started bothering the list about my own strange benchmarking
issues...

This one my perhaps interest a few more people: when exactly specifying
-march=i686 (on a i686) is supposed to lead to appreciably better
performing code?

In my personal experience (unexpectedly) many of the widespread short
benchmarks do not improve when -march=i686 is added to the command line.
But this is not very relevant. What is more relevant, I think, is that
also many reported benchmarks results for x86 are obtained with the -O2
or -O3 switches and do not discuss at all the particular x86
architecture. This seems strange to me...

Could someone in the known, explain a little bit of this?? I think may
be of interest to many users.

Thanks,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]