From owner-freebsd-sparc Tue Jan 14 14:48:29 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1ADF237B401 for ; Tue, 14 Jan 2003 14:48:28 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34D4843EB2 for ; Tue, 14 Jan 2003 14:48:27 -0800 (PST) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0EMmPu4001074 for ; Tue, 14 Jan 2003 14:48:26 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 14 Jan 2003 14:48:25 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: sparc@freebsd.org Subject: Sparc64 floating point questions Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I think that the CVSup failure one person reported was caused by the fact that I'm not currently saving/restoring the floating point state on thread context switches. I need to find out how to do that. It looks like if I save and restore the FSR and the FPRS and %q0 through %q60, that will do it. Am I missing anything? What is the most straightforward way to save all of the %qN registers? Like this? stq %q0, ... stq %q4, ... stq %q8, ... [...] stq %q60, ... Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message