Re: _fpstate_fxsave & al

From: Ulrich Drepper (drepper@redhat.com)
Date: Mon Jun 05 2000 - 23:09:52 EST


Gareth Hughes <gareth@precisioninsight.com> writes:

> To properly support user-space SSE, we will have to make things
> binary incompatible. Do you have a better suggestion of how to
> handle the new FPU save format in signal contexts? If so, please
> let me know.

- concatenate the new structure after the old

- when creating the signal context fill in the old fpstate with the
  data retrieved from the old one or at least leave the fp regs empty

- move the magic word somewhere in the range of the old structure. I
  propsed misuing the csseg field which sould work just fine.

> You shouldn't compile the new headers with an old kernel.

I'm never compiling headers. But I have new headers installed while
running old kernels and this is what is common practice forever. You
cannot simply break this. But thi is unimportant since it's only a
side effect of glibc on x86 using the kernel sigcontext.h definition.
If I go over to provide an own implementation (which I will have to
do) than it will fail regardless of the kernel headers installed.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:24 EST