From: Faisal Riyaz <faisalriyaz011@gmail.com>
To: libc-help@sourceware.org
Subject: Need details about generating traps for floating point exceptions
Date: Mon, 24 Jun 2019 11:40:00 -0000 [thread overview]
Message-ID: <CAEe-xqQWP=HSLMLttwLP1g9RXB1QxToBAy07MwDWe14-XNaD9A@mail.gmail.com> (raw)
Hi,
I am interested in knowing more about how traps are generated when floating
point exception occur.
Currently, gcc for RISC-V(riscv64-unknown-elf-gcc (GCC) 8.2.0) does not
generate traps on encountering
floating point exceptions.
I am going through glibc source code. I found .c files for functions
defined in fenv.h to handle floating point
exceptions but i am not able to figure out how trap is generated.
Thanks
Faisal
next reply other threads:[~2019-06-24 11:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 11:40 Faisal Riyaz [this message]
2019-09-04 19:53 ` Adhemerval Zanella
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='CAEe-xqQWP=HSLMLttwLP1g9RXB1QxToBAy07MwDWe14-XNaD9A@mail.gmail.com' \
--to=faisalriyaz011@gmail.com \
--cc=libc-help@sourceware.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).