Subject: AltiVec and *jmp.
To: None <tech-userlevel@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
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:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message