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: Aldy Hernandez <aldyh at redhat dot com>
- To: Matt Thomas <matt at 3am-software dot com>
- Cc: gcc at sources dot redhat dot com, dje at watson dot ibm dot com
- Date: 03 Mar 2003 11:07:09 -0800
- Subject: Re: PPC AltiVec request: add an abi variant
- References: <5.1.1.6.2.20030303102035.0526c8b0@3am-software.com>
>>>>> "Matt" == 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 ???
Not another abi variant! I really dislike adding ABI variants for
small things like this. I thought that was what the VRSAVE bitvector
was all about. But if Geoff and David agree, I could be persuaded to
approve the patch if someone writes it up.
Aldy