Date: Thu, 20 Mar 2003 02:28:20 -0800 (PST) From: Peter Grehan <grehan@FreeBSD.org> 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 Message-ID: <200303201028.h2KASKU9090258@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303201028.h2KASKU9090258>
