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/50031] Sphinx3 has a 10% regression going from GCC 4.5 to GCC 4.6 on powerpc


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

--- Comment #5 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2012-02-13 18:25:36 UTC ---
Just a quick note about the patch that was committed last week.  For 4.6 and
4.7, this approach adjusts the cost model for vector permutes with TARGET_VSX,
making them appear more expensive across the board.  This works well in the
usual case where permutes are somewhat dense with respect to other vector
operations.  In rarer cases, this has drawbacks.  When, for example, a loop
contains only a single permute, this is overly conservative and loses otherwise
useful vectorization opportunities.  An example of this (thanks to Mike) is
cSimpleChannel::deliver(CMessage*, double) in 471.omnetpp.  In 4.8, we will
want to model things more carefully to handle both the dense and sparse permute
cases.


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