From owner-cvs-src Thu Mar 20 2:28:24 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78BEB37B404; Thu, 20 Mar 2003 02:28:22 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D7EC43FB1; Thu, 20 Mar 2003 02:28:21 -0800 (PST) (envelope-from grehan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2KASK0U090259; Thu, 20 Mar 2003 02:28:20 -0800 (PST) (envelope-from grehan@repoman.freebsd.org) Received: (from grehan@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2KASKU9090258; Thu, 20 Mar 2003 02:28:20 -0800 (PST) Message-Id: <200303201028.h2KASKU9090258@repoman.freebsd.org> From: Peter Grehan Date: Thu, 20 Mar 2003 02:28:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/powerpc/powerpc fpu.c genassym.c swtch.S trap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG grehan 2003/03/20 02:28:20 PST FreeBSD src repository Modified files: sys/powerpc/powerpc fpu.c genassym.c swtch.S trap.c Log: Enable the FPU on first use per-thread and save state across context switches. Not as lazy as it could be. Changing FPU state with sigcontext still TODO. fpu.c - convert some asm to inline C, and macroize fpu loads/stores swtch.S - call out to save/restore fpu routines trap.c - always call enable_fpu, since this shouldn't be called once the FPU has been enabled for a thread genassym.c - define for pcb fpu flag Revision Changes Path 1.3 +78 -73 src/sys/powerpc/powerpc/fpu.c 1.49 +1 -0 src/sys/powerpc/powerpc/genassym.c 1.18 +8 -11 src/sys/powerpc/powerpc/swtch.S 1.39 +3 -11 src/sys/powerpc/powerpc/trap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message