From owner-cvs-all Sat Nov 13 10:25: 5 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 6F28614C17; Sat, 13 Nov 1999 10:24:45 -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 LAA29204; Sat, 13 Nov 1999 11:24:41 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA22696; Sat, 13 Nov 1999 11:24:39 -0700 Date: Sat, 13 Nov 1999 11:24:39 -0700 Message-Id: <199911131824.LAA22696@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: <199911130611.XAA21626@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 > > > 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? > > Supporting floating point in signal handlers will allow less restoring/ > resetting of FP state in setjmp()/longjmp(). Now, on i386's, the FP state > is undefined in signal handlers, and to make longjmp() from signal handlers > sort of work we reset to a default state, except we restore the FP control > word to its value at the time of the setjmp(). When the state is set to a > default for signal handling, the reset/restore will be unnecessary. Great, thanks for the clarification... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message