This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PPC AltiVec request: add an abi variant


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]