Re: FP in kernelspace

From: Andi Kleen
Date: Sun Jul 30 2006 - 14:18:19 EST



>
> Cannot work on x86-64, even disregarding fp exceptions, because
> kernel_fpu_begin() doesn't save the sse state which is used by fp math.
>
> No?

It does - FXSAVE saves everything.

BTW you can use x87 on x86-64 too, you just need to use long double.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/