public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "joseph at codesourcery dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcc/102017] libgcc ieee754-df.S for arm does not support exceptions
Date: Mon, 23 Aug 2021 19:51:15 +0000	[thread overview]
Message-ID: <bug-102017-4-ixPnCpd60M@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102017-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
If you want to support exceptions and rounding modes for double precision 
on processors with hardware support for single-precision only 
floating-point arithmetic, I suggest using soft-fp instead of this 
Arm-specific code; lots of configurations use soft-fp integrated with 
hardware exceptions and rounding modes like that (e.g. for binary128 
TFmode arithmetic on architectures without hardware support for it but 
with hardware SFmode and DFmode support).

If you want to support exceptions, rounding modes or both on processors 
with no hardware floating-point, you have the complication of needing 
working TLS support from the runtime environment (if the floating-point 
code might ever be used in an environment with threads), because 
exceptions and rounding modes are thread-local (not global) state.

  parent reply	other threads:[~2021-08-23 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23  8:33 [Bug libgcc/102017] New: " clyon at gcc dot gnu.org
2021-08-23 15:21 ` [Bug libgcc/102017] " rearnsha at gcc dot gnu.org
2021-08-23 19:51 ` joseph at codesourcery dot com [this message]
2021-09-24  8:59 ` clyon at gcc dot gnu.org
2022-09-22 16:44 ` torbjorn.svensson at foss dot st.com

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=bug-102017-4-ixPnCpd60M@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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 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).