floating point sse & sse2
Christoph Hellwig
hch@caldera.de
Fri Feb 1 05:58:00 GMT 2002
On Fri, Feb 01, 2002 at 05:31:17AM -0800, George.R.Goffe@seagate.com wrote:
>
> Richard,
>
> As I understand it, the kernel would have to save the contents (state) of
> processes during a context switch out and restore them after a return
> context switch. If the kernel doesn't "know" about the extra regs then they
> WILL NOT BE restored at "switch in" time which is NOT GOOD. I've seen this
> in the mainframe world with new processor architectures. The result is caos
> since every process would "see" every other processes regs. IBM calls this
> "unpredictible results" and they're right.
The kernel _does_ save SSE registers. This is the main reason why
current 2.2 and 2.4 kernel do task switches much slower than early 2.2.
Christoph
--
Of course it doesn't work. We've performed a software upgrade.
More information about the Gcc
mailing list