From owner-freebsd-sparc Sun Jan 19 12:49:26 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 4A85E37B401 for ; Sun, 19 Jan 2003 12:49:25 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1961243F18 for ; Sun, 19 Jan 2003 12:49:24 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0JKnMu5030164 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 19 Jan 2003 12:49:23 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0JKnMwq053849; Sun, 19 Jan 2003 12:49:22 -0800 (PST) (envelope-from jdp) Date: Sun, 19 Jan 2003 12:49:22 -0800 (PST) Message-Id: <200301192049.h0JKnMwq053849@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Subject: Re: Sparc64 floating point questions In-Reply-To: <20030118223026.GJ70151@dragon.nuxi.com> References: <20030115003013.GA3536@crow.dom2ip.de> <200301150047.h0F0lNFc037477@vashon.polstra.com> <20030118223026.GJ70151@dragon.nuxi.com> Organization: Polstra & Co., Seattle, WA 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 In article <20030118223026.GJ70151@dragon.nuxi.com>, David O'Brien wrote: > On Tue, Jan 14, 2003 at 04:47:23PM -0800, John Polstra wrote: > > I don't know much about Sparc machines. But it sounds like there > > exist 64-bit Sparcs which are not UltraSPARCs. So I'd better do it > > the most general way. > > I'd have to stretch my brain to be sure about that (maybe the Fujitsu > HAL?). For FreeBSD's purposes, you should assume that all 64-bit Sparcs > are UltraSPARC's. That is certainly how I have the toolchain configured. I'll take your word for it. Like I said, I don't know anything about the various SPARC models. I think I'd still better stick with saving the %gN registers individually. Since the UltraSPARC-specific code that Thomas described works a cache line at a time, I suspect that the save area has to be 64-byte aligned. I don't currently have a way to ensure that inside the M3 runtime. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message