Altivec and binary compatibility

Giuliano Pochini pochini at denise.shiny.it
Sun Feb 20 12:18:13 EST 2000



> >    This is not correct.  OS's on P-III have to be updated to provide proper
> > context switch support for the SSE registers.  I'm pretty sure Win98 has it
> > covered.  It's really the same type of jump as AltiVec - use of SSE
> > features is not restricted to OS or driver code, apps use them too.
>
> I know that the OS has to support these registers. Latest development
> kernels *DO* support them.
>
> That is not the problem.
>
> The problem is with C++ exception sequences and setjmp being different
> for Altivec and non-Altivec code.

IMHO C++ exceptions are not a problem. All objects are destroyed when a
function exits with an exception and it's an exit without return. The thrown
object is put on the stack (I think) and the calling code will handle it.
Obviously you can't mix code compiled for Altivec and code compiled for plain
PPC if they exchange data with exceptions, jumps and friends.

> How does Linux on ia32 handle linking between generic ia32 and Pentium-III user-space code ?

No idea... It's likely an unsolved issue yet.

Bye.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list