public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Mathieu Malaterre <mathieu.malaterre@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: FLT_EVAL_METHOD vs fexcess-precision
Date: Fri, 1 Sep 2023 11:28:57 +0100	[thread overview]
Message-ID: <CAH6eHdRbkiNzCERgDe5HH+5pER9967dNqjt8VowhRFs1VFw5zw@mail.gmail.com> (raw)
In-Reply-To: <CA+7wUszxSM=ikux0wYb=WyWo2EmBEPodpfYS651JS+QE3U=r4g@mail.gmail.com>

On Fri, 1 Sept 2023 at 10:57, Mathieu Malaterre via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> Hi all,
>
> I am reading a previous post from Pascal Cuoq(*), and it seems things
> have changed quite a bit in GCC nowadays. I fail to understand how
> FLT_EVAL_METHOD relates to fexcess-precision. Did I miss something?
>
> ---
>
> Here is what I see on my Debian/sid/i386 system:

It looks to me like the difference is that you're using i386 (welcome,
time traveller!) where -mfpmath=i387 is the default, so
FLT_EVAL_METHOD=2. I think Pascal's SO answer uses x86_64, where the
default is -mfpmath=sse and so FLT_EVAL_METHOD=0, but changes to 2
when he uses -mfpmath=i387.

  parent reply	other threads:[~2023-09-01 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01  9:55 Mathieu Malaterre
2023-09-01 10:14 ` Jonathan Wakely
2023-09-01 10:19   ` Jonathan Wakely
2023-09-01 10:28 ` Jonathan Wakely [this message]
2023-09-01 12:02   ` Mathieu Malaterre
2023-09-01 12:19     ` Jonathan Wakely

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=CAH6eHdRbkiNzCERgDe5HH+5pER9967dNqjt8VowhRFs1VFw5zw@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=mathieu.malaterre@gmail.com \
    /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).