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/19988] [4.0 Regression] pessimizes fp multiply-add/subtract combo


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-15 23:42 -------
Almost want to say this is caused by:
2004-07-11  Roger Sayle  <roger@eyesopen.com>

        * fold-const.c (fold) <PLUS_EXPR>: Canonicalize X + -C as X - C for
        floating point additions, to keep real immediate constant positive.
        <MINUS_EXPR>:  For floating point subtractions, only transform X - -C
        into X + C, and leave positive real constants as X - C.

http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01155.html

Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at eyesopen dot com
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-15 23:42:25
               date|                            |


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


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