public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37072]  New: -mfancy-math-387 should be the default in FreeBSD
@ 2008-08-10 19:05 das at FreeBSD dot ORG
  2008-08-10 19:57 ` [Bug target/37072] " pinskia at gcc dot gnu dot org
  2008-08-10 19:58 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 6+ messages in thread
From: das at FreeBSD dot ORG @ 2008-08-10 19:05 UTC (permalink / raw)
  To: gcc-bugs

-mno-fancy-math-387 disables generation of fsqrt, fsin, and several other
instructions. It was needed long ago when FreeBSD supported FPUless 80386 and
80486 systems via a partial in-kernel emulator that couldn't cope with these
instructions. Support for FPUless x86 machines was dropped many years ago, and
the emulator is gone, so -mfancy-math-387 should be the default for FreeBSD.

http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/gcc/config/i386/freebsd.h.diff?r1=1.75;r2=1.76


-- 
           Summary: -mfancy-math-387 should be the default in FreeBSD
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: das at FreeBSD dot ORG
 GCC build triplet: amd64-undermydesk-freebsd
  GCC host triplet: amd64-undermydesk-freebsd
GCC target triplet: i386-undermydesk-freebsd


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


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

* [Bug target/37072] -mfancy-math-387 should be the default in FreeBSD
  2008-08-10 19:05 [Bug target/37072] New: -mfancy-math-387 should be the default in FreeBSD das at FreeBSD dot ORG
@ 2008-08-10 19:57 ` pinskia at gcc dot gnu dot org
  2008-08-10 19:58 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 19:57 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


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


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

* [Bug target/37072] -mfancy-math-387 should be the default in FreeBSD
  2008-08-10 19:05 [Bug target/37072] New: -mfancy-math-387 should be the default in FreeBSD das at FreeBSD dot ORG
  2008-08-10 19:57 ` [Bug target/37072] " pinskia at gcc dot gnu dot org
@ 2008-08-10 19:58 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-10 19:57 -------
Patches goto gcc-patches@gcc.gnu.org with a changelog.


-- 


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


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

* [Bug target/37072] -mfancy-math-387 should be the default in FreeBSD
       [not found] <bug-37072-4@http.gcc.gnu.org/bugzilla/>
  2011-02-16  0:23 ` gerald at pfeifer dot com
  2015-07-03  1:35 ` gerald at gcc dot gnu.org
@ 2015-07-03  9:33 ` gerald at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: gerald at gcc dot gnu.org @ 2015-07-03  9:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37072

--- Comment #4 from gerald at gcc dot gnu.org <gerald at gcc dot gnu.org> ---
Author: gerald
Date: Fri Jul  3 09:33:17 2015
New Revision: 225370

URL: https://gcc.gnu.org/viewcvs?rev=225370&root=gcc&view=rev
Log:
        PR target/37072
        * doc/invoke.texi (i386 and x86-64 Options): -mno-fancy-math-387
        is not actually the default on FreeBSD.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/doc/invoke.texi


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

* [Bug target/37072] -mfancy-math-387 should be the default in FreeBSD
       [not found] <bug-37072-4@http.gcc.gnu.org/bugzilla/>
  2011-02-16  0:23 ` gerald at pfeifer dot com
@ 2015-07-03  1:35 ` gerald at gcc dot gnu.org
  2015-07-03  9:33 ` gerald at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: gerald at gcc dot gnu.org @ 2015-07-03  1:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37072

--- Comment #3 from gerald at gcc dot gnu.org <gerald at gcc dot gnu.org> ---
Author: gerald
Date: Fri Jul  3 01:35:18 2015
New Revision: 225367

URL: https://gcc.gnu.org/viewcvs?rev=225367&root=gcc&view=rev
Log:
        PR target/37072
        * doc/invoke.texi (i386 and x86-64 Options): -mno-fancy-math-387
        is not actually the default on FreeBSD.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi


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

* [Bug target/37072] -mfancy-math-387 should be the default in FreeBSD
       [not found] <bug-37072-4@http.gcc.gnu.org/bugzilla/>
@ 2011-02-16  0:23 ` gerald at pfeifer dot com
  2015-07-03  1:35 ` gerald at gcc dot gnu.org
  2015-07-03  9:33 ` gerald at gcc dot gnu.org
  2 siblings, 0 replies; 6+ messages in thread
From: gerald at pfeifer dot com @ 2011-02-16  0:23 UTC (permalink / raw)
  To: gcc-bugs

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

Gerald Pfeifer <gerald at pfeifer dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |gerald at pfeifer dot com
         Resolution|                            |WORKSFORME
         AssignedTo|unassigned at gcc dot       |gerald at pfeifer dot com
                   |gnu.org                     |

--- Comment #2 from Gerald Pfeifer <gerald at pfeifer dot com> 2011-02-16 00:23:00 UTC ---
Thanks for reporting this, David, and I'm sorry that nobody analyzed
this before.  

I cannot find a bit like this in the GCC sources and a bit of digging
reveals

  Revision 1.35:
  Thu Mar 23 10:18:25 2000 UTC (10 years, 10 months ago) by obrien
  Branches: MAIN
  Changes since revision 1.34: +545 -382 lines

  Clean up the FreeBSD configuration files -- includes removing the usage
  of svr4.h on the i386, and moving all the shared arch neutral bits into
  the FreeBSD general config header.

http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/gcc/config/i386/freebsd.h.diff?r1=1.34;r2=1.35;f=h

as the point where this was introduced into the FreeBSD system compiler.

I believe there is no action to be taken on the upstream GCC side.

If I am wrong or missing something, please let me know and I'll do my
best to help address this!


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

end of thread, other threads:[~2015-07-03  9:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-10 19:05 [Bug target/37072] New: -mfancy-math-387 should be the default in FreeBSD das at FreeBSD dot ORG
2008-08-10 19:57 ` [Bug target/37072] " pinskia at gcc dot gnu dot org
2008-08-10 19:58 ` pinskia at gcc dot gnu dot org
     [not found] <bug-37072-4@http.gcc.gnu.org/bugzilla/>
2011-02-16  0:23 ` gerald at pfeifer dot com
2015-07-03  1:35 ` gerald at gcc dot gnu.org
2015-07-03  9:33 ` gerald at gcc dot gnu.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).