This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ports state for 2.16 regarding global changes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]