Date: Sat, 19 Sep 2009 21:44:08 -0400 From: Ryan Stone <rysto32@gmail.com> To: Barney Cordoba <barney_cordoba@yahoo.com> Cc: freebsd-current@freebsd.org, Ivan Voras <ivoras@freebsd.org> Subject: Re: SSE register return with SSE disabled on AMD64 Message-ID: <bc2d970909191844l6c61ba18hbdac20edad5be94e@mail.gmail.com> In-Reply-To: <507613.41733.qm@web63907.mail.re1.yahoo.com> References: <h93ga5$frd$1@ger.gmane.org> <507613.41733.qm@web63907.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You must not use SSE or floating point operations in the kernel. The state of the floating point and SSE registers is *not* saved upon entry to the kernel. If the kernel executes SSE or floating point instructions it will corrupt the state of a userland program. Ryan Stone
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc2d970909191844l6c61ba18hbdac20edad5be94e>