public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Richard Henderson <rth@twiddle.net>
Cc: libc-ports@sourceware.org, David Miller <davem@davemloft.net>
Subject: Re: Ports state for 2.16 regarding global changes
Date: Fri, 15 Jun 2012 18:56:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1206151851490.14697@digraph.polyomino.org.uk> (raw)
In-Reply-To: <4FDB708C.6070801@twiddle.net>

On Fri, 15 Jun 2012, Richard Henderson wrote:

> On 2012-06-15 08:52, Joseph S. Myers wrote:
> >   (c) sysdeps/alpha/soft-fp/sfp-machine.h is missing a definition of
> >   FP_TRAPPING_EXCEPTIONS.
> 
> What's this one supposed to do?  There's no commentary anywhere.

It expands to a bitmask of those exceptions (FP_EX_* values) for which 
trapping (sending a signal) is enabled.  This is only relevant for cases 
of exact underflow (where a signal is sent if trapping on underflow is 
enabled, but otherwise the underflow flag is not raised).

Typically a masked version of the floating-point control register, shifted 
to move the trap-enabled bits into the positions of the exception-raised 
bits, is right.

-- 
Joseph S. Myers
joseph@codesourcery.com

      reply	other threads:[~2012-06-15 18:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15 15:53 Joseph S. Myers
2012-06-15 16:18 ` Mark Salter
2012-06-15 16:41   ` Joseph S. Myers
2012-06-15 17:28 ` Richard Henderson
2012-06-15 18:56   ` Joseph S. Myers [this message]

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=Pine.LNX.4.64.1206151851490.14697@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=davem@davemloft.net \
    --cc=libc-ports@sourceware.org \
    --cc=rth@twiddle.net \
    /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).