This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: GCC beaten by ICC in stupid trig test!



On Mar 24, 2004, at 1:51 PM, Joe Buck wrote:


And no, I'm not being pedantic; in many scientific apps, the programmer
is aware of the expected range of values the variables will have, and
will deliberately arrange the operations so that variables of similar
magnitudes are combined.

I'm aware of the usual examples. Do you think that we need yet another fast-math flag to allow the compiler to reassociate values in floating-point arithmetic? -freally-unsafe-math-optimizations perhaps? Or maybe such a programmer as you describe will just turn off -funsafe-math-optimizations.


Brad


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