From owner-freebsd-ppc@FreeBSD.ORG Tue Dec 19 01:48:45 2006 Return-Path: X-Original-To: ppc@FreeBSD.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9AFF16A40F for ; Tue, 19 Dec 2006 01:48:45 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E5A43CA2 for ; Tue, 19 Dec 2006 01:48:43 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id CKK21395 (AUTH peterg@ptree32.com.au); Tue, 19 Dec 2006 11:47:36 +1000 (EST) Message-ID: <458744D4.3060007@freebsd.org> Date: Mon, 18 Dec 2006 17:48:04 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: Marcel Moolenaar References: <45873A21.8020304@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ppc@FreeBSD.org Subject: Re: Adding new PowerPC platforms to the build X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 01:48:45 -0000 > There's at least 1 gotcha: I think the ABI for embedded space is > different from server space (Book III-E vs Book III-S). Think > floating-point. MI code that is intended to run on a Book III-S > ISA processor should use hardware FP. MI code that is intended > to run on a Book III-E ISA processor cannot. Sure. > For example, the following seems quite user-friendly and intuitive: > make release TARGET_ARCH=powerpc TARGET=server > or > make release TARGET_ARCH=powerpc TARGET=embedded > > and it does solve the biggest problem we're facing. Would this be > so bad? Perhaps a better distinction is a default value of 'server', and an override of TARGET=softfp since there are a large class of embedded PPC cpus that can do floating point. > Also, I don't want to assume that whatever we do should be done in > the same way as pc98 and sun4u has been done. I think they have set > a bad example. Agreed 100%. later, Peter.