This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sysv4 varargs for altivec
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Aldy Hernandez <aldyh at redhat dot com>, gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Nov 2001 21:50:06 -0500
- Subject: Re: sysv4 varargs for altivec
>>>>> Richard Henderson writes:
Richard> On Thu, Nov 29, 2001 at 07:22:38PM -0600, Aldy Hernandez wrote:
>> that is already in place in function_arg_advance:
>>
>> if (TARGET_ALTIVEC_ABI && ALTIVEC_VECTOR_MODE (mode))
>> {
>> if (cum->vregno <= ALTIVEC_ARG_MAX_REG && cum->nargs_prototype >= 0)
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Richard> Hum. I'll let an rs6000 maintainer figure that out. :-P
The change is bounded by TARGET_ALTIVEC_ABI, so it's up to people
who care about Altivec to make sure it works correctly. It won't break
the rest of the world...
David