Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 16:11:36 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Dan Eischen <eischen@vigrid.com>, Nate Williams <nate@yogotech.com>, Daniel Eischen <eischen@pcnet1.pcnet.com>, Archie Cobbs <archie@dellroad.org>, Alfred Perlstein <bright@mu.org>, arch@FreeBSD.ORG
Subject:   Re: Request for review: getcontext, setcontext, etc 
Message-ID:  <20020112001136.5BA6C38FD@overcee.netplex.com.au>
In-Reply-To: <3C3DE891.99C85D24@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote:
> Dan Eischen wrote:
> > I think we determined that the only time we care about the FP state is
> > when sending a signal.  In that case, the kernel should know how to
> > get the FPU state and copy it out to the context.  If there are
> > different FPU formats, there is a flags word that can be set accordingly
> > and the userland setcontext() can be made to account for different
> > floating point formats.
> > 
> > Currently the kernel doesn't save the FPU state in the sigcontext,
> > but it should.  Wouldn't this solve the problem?
> 
> What problem?
> 
> Using FP code in signal handlers isn't legal.  Why does everyone
> want to do Bezier curves in signal handlers?

It is on IA64.  It is the only way to do multiply and divide.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020112001136.5BA6C38FD>