Subject: AltiVec and *jmp.
To: None <>
From: Matt Thomas <>
List: tech-userlevel
Date: 07/02/2002 00:44:47
When AltiVec is present (__VEC__ is defined), the jmp_buf is
extended by 48 bytes and vector registers are saved starting
at offset 256 and the contents of VRSAVE are at offset 248.

This requires a different setjmp/longjmp, etal so perform the
optional altivec instructions.

Should I just #define __setjmp14 __setjmp14_vec
in <powerpc/setjmp.h> if __VEC__ is defined or is there a
cleaner way of doing this?

Matt Thomas               Internet:
3am Software Foundry      WWW URL:
Cupertino, CA             Disclaimer: I avow all knowledge of this message