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/53395] [4.8 Regression] The LAPACK functions i(d|s)amax are more than two times slower after revision 187183


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-18
     Ever Confirmed|0                           |1

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-18 15:32:04 UTC ---
This was mentioned on http://gcc.gnu.org/ml/gcc/2011-10/msg00422.html .  So
there are two ways of fixing this bug.
Way #1: Fix ifcvt on the tree level to produce MAX_EXPR instead of the
COND_EXPR.

Way #2: Simplify COND_EXPR to MAX_EXPR during expanding or some other time.

I want to say way #1 is the correct fix.


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