tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for non-default rounding modes in the softfloat layer

On Tue, Apr 30, 2013 at 08:11:57AM -0400, Greg Troxel wrote:
> Probably not.  But can you point to something in standards or existing
> practice that makes per-thread rounding mode make any sense at all?
> This discussion is the first I've heard of the concept.

It is what happens on hardware FPUs - the rounding mode is typically
part of the saved FPU state that gets switched between threads.

For softfloat we use a global variable in libc currently, so it is shared
in this case.


Home | Main Index | Thread Index | Old Index