public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Brian Dessent <brian@dessent.net>
To: Terry Frankcombe <terry@chem.gu.se>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Internal representation of double variables - 3.4.6 vs 4.1.0
Date: Fri, 09 Mar 2007 19:08:00 -0000	[thread overview]
Message-ID: <45F1AD7C.CE30AC9A@dessent.net> (raw)
In-Reply-To: <1173466047.5215.11.camel@fkpc167>

Terry Frankcombe wrote:

> My understanding of -ffloat-store is that it only works when there's
> actually a variable involved.  Is that right?

Right, it's not a guaranteed fix.

> (I'm used to working with Compaq and Intel Fortran compilers, where you
> can set flags that say, effectively, "Use a standard, well-defined and
> portable floating point arithmetic model irrespective of what the CPU's
> trying to do.")

I'd say you pretty much get that with -mfpmath=sse.  The only reason
anyone should ever use 387 is if binary compatibility with ancient
pre-SSE pentiums/K6s is required.  Otherwise, it's an ancient and creaky
fp architecture that would be best obsoleted (which they finally did in
x86_64 AFAIK.)

Brian

  reply	other threads:[~2007-03-09 18:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f7bda7fe0703090927s589149c3yeeaf992c3b6c26b5@mail.gmail.com>
2007-03-09 18:00 ` max
2007-03-09 18:33   ` Terry Frankcombe
2007-03-09 18:47     ` Brian Dessent
2007-03-09 18:55       ` Terry Frankcombe
2007-03-09 19:08         ` Brian Dessent [this message]
2007-03-09 19:27           ` Terry Frankcombe
2007-03-10 18:37             ` John (Eljay) Love-Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45F1AD7C.CE30AC9A@dessent.net \
    --to=brian@dessent.net \
    --cc=gcc-help@gcc.gnu.org \
    --cc=terry@chem.gu.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).