On 9/9/22 8:47 PM, Segher Boessenkool wrote:
> On Fri, Sep 09, 2022 at 07:56:42PM -0500, Peter Bergner wrote:
>> On 9/9/22 8:27 AM, Kewen.Lin wrote:
>>> btw, it needs some hacking in rs6000_function_arg to make this
>>> opaque type valid for function arg.
>>
>> We don't allow (at this time) __vector_pair or __vector_quad to be
>> used as actual arguments to non-builtin functions.  We do allow
>> pointers to those types though.
> 
> It would be nice to support that, if it isn't too hard.  It won't be
> digging us into a hole, experience has taught us :-)

Sure, but we didn't need it at the time (and still don't) and if we do
add support for that, we'll have to update the ABIs to describe how
they are passed and returned and that is no small feat in itself.
It's just a fair amount of work when no one is actually asking for
that support and we have a lot of other things to work on.

Peter



Reply via email to