This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: PowerPC Altivec version of setjmp/longjmp
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Eric Norum <norume at aps dot anl dot gov>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 31 Aug 2007 14:26:34 -0500
- Subject: Re: PowerPC Altivec version of setjmp/longjmp
- References: <E854BCC6-5B5F-468C-BA18-86B1A712BFAA@aps.anl.gov>
Eric Norum wrote:
The code in powerpc/setjmp.S contains conditionally assembled code
which saves/restores the Altivec registers. This breaks on operating
systems like RTEMS which do not normally enable the Altivec unit. The
RTEMS maintainers asked me to submit this patch which was originally
provided by Till Straumann <strauman@slac.stanford.edu>
The patch is quite small so I've just attached it to this message.
There haven't been any comments on this.
Just because the CPU supports a feature doesn't mean it is enabled.
This patch just honors that. Please consider merging it.
Thanks.
--joel sherrill