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 tree-optimization/24123] [4.1/4.2 Regression] Massive performance regression for -ffast-math due to the recip tree pass



------- Comment #22 from dje at gcc dot gnu dot org  2006-01-03 15:22 -------
Is it possible for backends to inquire how many reciprocals were discovered? 
PowerPC and IA-64 have reciprocal instructions and could benefit by choosing to
generate reciprocal earlier with additional information about the number of
divides calculated.  For PowerPC, it is effective to use the instruction if
there are multiple divides, such as the three divisions mentioned above.  The
IBM XLC compiler propagates the reciprocal and numerator pair through its
equivalent to RTL.


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org


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



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