This is the mail archive of the gcc-bugs@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]

[Bug middle-end/42694] Compiler could optimize pow (x, 0.75) into sqrt (x) * sqrt (sqrt (x))



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-01-26 09:57 -------
Ugh, I don't like more switches.  Instead I would say that using two sqrt
calls instead of one pow call is always profitable if not optimizing for size
and the target has an optab for sqrt.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42694


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