From owner-cvs-src@FreeBSD.ORG Sun Feb 24 07:02:50 2008 Return-Path: <owner-cvs-src@FreeBSD.ORG> Delivered-To: cvs-src@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6864916A401; Sun, 24 Feb 2008 07:02:50 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 4652413C461; Sun, 24 Feb 2008 07:02:50 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.2/8.14.2) with ESMTP id m1O6cajQ042834; Sun, 24 Feb 2008 01:38:36 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m1O6cane042833; Sun, 24 Feb 2008 01:38:36 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Sun, 24 Feb 2008 01:38:36 -0500 From: David Schultz <das@FreeBSD.ORG> To: Marcel Moolenaar <marcel@FreeBSD.ORG> Message-ID: <20080224063836.GB42714@zim.MIT.EDU> Mail-Followup-To: Marcel Moolenaar <marcel@FreeBSD.ORG>, src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <200802232005.m1NK5R60022761@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802232005.m1NK5R60022761@repoman.freebsd.org> Cc: cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c fpu_div.c fpu_emu.c fpu_emu.h fpu_explode.c fpu_extern.h fpu_implode.c fpu_instr.h fpu_mul.c fpu_sqrt.c fpu_subr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 24 Feb 2008 07:02:50 -0000 On Sat, Feb 23, 2008, Marcel Moolenaar wrote: > marcel 2008-02-23 20:05:27 UTC > > FreeBSD src repository > > Added files: > sys/powerpc/fpu fpu_add.c fpu_arith.h fpu_compare.c > fpu_div.c fpu_emu.c fpu_emu.h > fpu_explode.c fpu_extern.h fpu_implode.c > fpu_instr.h fpu_mul.c fpu_sqrt.c > fpu_subr.c > Log: > Add a floating-point emulator so that a single userland or single ABI > can run on processors that don't have a FPU. This is typically the > case for Book E processors. While a tuned system will probably want > to use soft-float (or use a processor that has a FPU if the usage is > FP intensive enough), allowing hard-float on FPU-less systems gives > great portability and flexibility. > > Obtained from: NetBSD It looks like everything except for fpu_emu.? and fpu_instr.h is pretty generic, and surely there are other architectures (e.g., ARM, low-power 486-SX clones) that could use in-kernel FP emulation. Do you think it's worthwhile to separate the MI bits and put them somewhere other than sys/powerpc, or is the plan to burn that bridge when we get to it?