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]
Other format: [Raw text]

Re: GCC beaten by ICC in stupid trig test!


Zdenek Dvorak wrote:

Perhaps it's ok moving doit even when -ffast-math is not passed, I don't
know for sure, honestly...


it should be -- it is just an invariant motion (the value returned by
doit obviously is always the same, since we invoke it with the same
argument).


Ah, ok! On the other hand, it wouldn't be ok collapsing in a second step the whole
loop to a constant, right?


Paolo.


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