This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PPC AltiVec request: add an abi variant
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Matt Thomas <matt at 3am-software dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 03 Mar 2003 11:42:08 -0800
- Subject: Re: PPC AltiVec request: add an abi variant
- References: <5.1.1.6.2.20030303102035.0526c8b0@3am-software.com>
Matt Thomas <matt at 3am-software dot com> writes:
> To facilitate using AltiVec in the NetBSD kernel, I'd really like
> a environment where all AltiVec registers were considered to be
> callee-saved. If that happened, the kernel wouldn't have to incur
> the overhead of saving/restoring AltiVec state in the kernel other
> than where it's used.
>
> It doesn't seem that it would be to difficult to implement this.
> Maybe call this abi=kaltivec or ???
Maybe you could just use -fcall-saved-v0 -fcall-saved-v1 ... ?
--
- Geoffrey Keating <geoffk at geoffk dot org>