Date: Tue, 3 Apr 2001 11:10:39 -0700 (PDT) From: Matt Dillon <dillon@earth.backplane.com> To: Bruce Evans <bde@zeta.org.au>, John Baldwin <jhb@FreeBSD.ORG>, Mark Murray <mark@grondar.za>, current@FreeBSD.ORG, "David O'Brien" <obrien@FreeBSD.ORG> Subject: Re: i586 FP optimizations hosed. Message-ID: <200104031810.f33IAd258887@earth.backplane.com> References: <Pine.BSF.4.21.0104032200080.32249-100000@besplex.bde.org> <200104031803.f33I3FM58726@earth.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
: * Kernel bcopy operation in case where no process switch occurs : (i.e. current process was using the FP and while we went into : kernel mode, we have not yet saved the FP state anywhere). : : if (process-A-using-FP) { : push FP state for process A on stack : push process-A-using-FP flag : } : set process-A-using-FP flag : use FP registers to do bcopy : : restore process-A-using-FP flag from stack : restore FP state from stack Oops. I meant: if (process-A-using-FP) { push FP state for process A on stack } push process-A-using-FP flag set process-A-using-FP flag use FP registers to do bcopy restore process-A-using-FP flag from stack if (process-A-using-FP) { restore FP state from stack } -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104031810.f33IAd258887>