From owner-cvs-all Fri Nov 12 22:11:43 1999 Delivered-To: cvs-all@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 78E8114EEE; Fri, 12 Nov 1999 22:11:40 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id XAA22656; Fri, 12 Nov 1999 23:11:38 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA21626; Fri, 12 Nov 1999 23:11:37 -0700 Date: Fri, 12 Nov 1999 23:11:37 -0700 Message-Id: <199911130611.XAA21626@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Bruce Evans Cc: Nate Williams , Marcel Moolenaar , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include signal.h In-Reply-To: References: <199911121711.KAA19367@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > > > By reseting the FPU with fninit, we *lose* much of the state, we in our > > > > code we must restore the state (which we stored before the call to > > > > sigsetjmp with fsave/fwait). > > > > > > fninit lose some current state, but nothing related to the state at the > > > time of the sigsetjmp(). JDK apparently needs to restore the state at > > > the time of the setjmp(). > > > > Right. What else would you restore if not the state at the time of the > > setjmp? > > You would restore as necessary to prevent clobbering of local variables > that are stored in registers at the time of the longjmp. Umm, I thought Marcel's comment was that we would be now supporting floating point context. In that case, then we should restore the FP state, shouldn't we? What else would be necessary to support FP state? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message