From owner-freebsd-arch Fri Jan 11 16:12: 9 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 6642D37B437 for ; Fri, 11 Jan 2002 16:11:37 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020112001136.QQOT10199.rwcrmhc53.attbi.com@peter3.wemm.org> for ; Sat, 12 Jan 2002 00:11:36 +0000 Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g0C0Bas68133 for ; Fri, 11 Jan 2002 16:11:36 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 5BA6C38FD; Fri, 11 Jan 2002 16:11:36 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Terry Lambert Cc: Dan Eischen , Nate Williams , Daniel Eischen , Archie Cobbs , Alfred Perlstein , arch@FreeBSD.ORG Subject: Re: Request for review: getcontext, setcontext, etc In-Reply-To: <3C3DE891.99C85D24@mindspring.com> Date: Fri, 11 Jan 2002 16:11:36 -0800 From: Peter Wemm Message-Id: <20020112001136.5BA6C38FD@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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