Re: FPU precision & signal handlers (bug?)

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Mar 07 2002 - 14:25:21 EST


> I agree with the second part, but actually what you want is to start with
> an empty stack. Whether the contents are FP or MMX is irrelevant.
> Actually the support of applications using MMX did not require any change
> to the kernel (Intel carefully designed it that way).

Not the case. If you drop into a signal or exception handler and it uses
FPU while MMX is on it'll get a nasty shock. As it happens Linux already
did the right thing.

Intel minimised it and did pretty much the best job that could be done for
it
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:06 EST