This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50031] Sphinx3 has a 10% regression going from GCC 4.5 to GCC 4.6 on powerpc
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2012 18:25:36 +0000
- Subject: [Bug tree-optimization/50031] Sphinx3 has a 10% regression going from GCC 4.5 to GCC 4.6 on powerpc
- Auto-submitted: auto-generated
- References: <bug-50031-4@http.gcc.gnu.org/bugzilla/>
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.