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 #3 from meissner at gcc dot gnu dot org  2010-01-26 00:40 -------
Created an attachment (id=19706)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19706&action=view)
Proposed patch to fix the problem

Patch to add 3 new switches to tune whether to use a combination of sqrt/cbrt
to replace pow.


-- 


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]