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]

Re: altivec triplets: comments?


>>>>> "Geoff" == Geoff Keating <geoffk@geoffk.org> writes:

 > The other problems only happen if you have a call-saved altivec
 > register, or use them for argument passing.  There's nothing that
 > prevents you from making all the altivec registers call-clobbered, and
 > prohibiting passing arguments in altivec registers, and then
 > everything should Just Work, although perhaps a little less efficiently.

Vector registers are only used to hold arguments for -mabi=altivec,
otherwise they go in the stack.  Also, altivec registers are
call-saved only for altivec abi.  So theoretically it should just
work.

Aldy


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