public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19150] New: [3.3/3.4/4.0 Regression] suboptimal fp division with -ffast-math
@ 2004-12-24 19:23 pinskia at gcc dot gnu dot org
  2004-12-24 19:24 ` [Bug target/19150] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-24 19:23 UTC (permalink / raw)
  To: gcc-bugs

Take the following code:
double test (double x) {
        return 1.1 / x;
}

With -O2 -ffast-math with 2.95.3, we get:
        fldl    .LC0
        pushl   %ebp
        movl    %esp, %ebp
        fdivl   8(%ebp)
        popl    %ebp
        ret

But with 3.3, and 4.0:
        pushl   %ebp
        movl    %esp, %ebp
        fld1
        fdivl   8(%ebp)
        fmull   .LC1
        leave
        ret

-- 
           Summary: [3.3/3.4/4.0 Regression] suboptimal fp division with -
                    ffast-math
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-09-05 15:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-24 19:23 [Bug target/19150] New: [3.3/3.4/4.0 Regression] suboptimal fp division with -ffast-math pinskia at gcc dot gnu dot org
2004-12-24 19:24 ` [Bug target/19150] " pinskia at gcc dot gnu dot org
2004-12-24 19:26 ` pinskia at gcc dot gnu dot org
2004-12-24 19:26 ` pinskia at gcc dot gnu dot org
2005-01-27 19:53 ` Thomas dot Koenig at online dot de
2005-02-11  0:36 ` pinskia at gcc dot gnu dot org
2005-02-14 15:04 ` uros at kss-loka dot si
2005-04-12 17:38 ` [Bug target/19150] [3.3/3.4/4.0/4.1 " giovannibajo at libero dot it
2005-04-13  9:59 ` uros at kss-loka dot si
2005-04-21  5:03 ` mmitchel at gcc dot gnu dot org
2005-07-08  1:42 ` [Bug target/19150] [3.4/4.0/4.1 " mmitchel at gcc dot gnu dot org
2005-08-17 12:36 ` [Bug target/19150] [3.4/4.0 " bonzini at gcc dot gnu dot org
2005-09-05 15:46 ` [Bug target/19150] [3.4/4.0/4.1 " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).