All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stafford Horne <shorne@gmail.com>
To: openrisc@lists.librecores.org
Subject: [OpenRISC] Fpu tininess
Date: Fri, 20 Mar 2020 16:21:14 +0900	[thread overview]
Message-ID: <CAAfxs75F6mcX_qHPYLzCbudeONXkSCOqNcXGRR4o+bgMDZ_VxQ@mail.gmail.com> (raw)

Hi Andrey,

Thanks for replying to the question about fusesoc.

I've been meaning to ask you a question about our fpu implementation.
Currently for glibc most  floating point math routines use 64-bit double
precision.  Anything not handled by the architecture is emulated.

I have written the emulation patches but the tests are having issues with
underflow flags being incorrectly set sometimes.

I have a hunch it may be due to my tininess setting.   Do you know what we
should set for:

_FP_TININESS_AFTER_ROUNDING

?

The glibc patch
https://github.com/openrisc/or1k-glibc/commit/4748177bdde92846974fc8ec523d212d6db74aa0

The gcc patch
https://github.com/stffrdhrn/gcc/commit/8e99e252edc130162b6d2d7bdef2180305389053
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20200320/457573eb/attachment.html>

             reply	other threads:[~2020-03-20  7:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20  7:21 Stafford Horne [this message]
2020-03-21 13:06 ` [OpenRISC] Fpu tininess Andrey Bacherov
2020-03-22  0:58   ` Stafford Horne
2020-07-25 11:13     ` Andrey Bacherov
2020-07-26 13:15       ` Stafford Horne

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=CAAfxs75F6mcX_qHPYLzCbudeONXkSCOqNcXGRR4o+bgMDZ_VxQ@mail.gmail.com \
    --to=shorne@gmail.com \
    --cc=openrisc@lists.librecores.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.