Re: FP in kernelspace



Andi Kleen wrote:

>
> 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.


I see. Thanks for clearing it up.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
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/



Relevant Pages

  • Re: FP in kernelspace
    ... Cannot work on x86-64, even disregarding fp exceptions, because ... kernel_fpu_begindoesn't save the sse state which is used by fp math. ... It does - FXSAVE saves everything. ...
    (Linux-Kernel)
  • Re: python reliability with EINTR handling in general modules
    ... ValueError: (4, 'Interrupted system call') ... Some info about app: it have 3-7 threads, ... directfb, i can't reproduce this exceptions, they are not predictable. ... occurred in the math library call -- unless you deleted that line. ...
    (comp.lang.python)
  • Re: Course Pre Reading
    ... physics. ... Because my math degree is 25 years old now they won't give me exceptions for ... the math. ... Congratulations on having the opportunity to go back to school ...
    (sci.physics.relativity)
  • Re: Course Pre Reading
    ... Bill Hobba wrote: ... physics. ... Because my math degree is 25 years old now they won't give me exceptions for ... the math. ...
    (sci.physics.relativity)
  • Re: FP in kernelspace
    ... kernel_fpu_begindoesn't save the sse state which is used by fp math. ... userspace) and don't care about SSE. ...
    (Linux-Kernel)