Hi Carl,

That looks like a typo in the ABI document to me.  The return type should match 
the
argument types like it does for the other variants.  Sorry -- I'll open a bug 
against
the ABI doc.

Thanks!  Good catch, Segher.

-- Bill

Bill Schmidt, Ph.D.
STSM, GCC Architect for Linux on Power
IBM Linux Technology Center
wschm...@linux.vnet.ibm.com

> On Jun 5, 2018, at 4:32 PM, Segher Boessenkool <seg...@kernel.crashing.org> 
> wrote:
> 
> Hi Carl,
> 
> On Tue, Jun 05, 2018 at 01:57:52PM -0700, Carl Love wrote:
>> The following patch fixes the return type for the existing vec_permxor
>> builtin to match the ABI specification.  The test case for the builtin
>> is also updates.
> 
> Hrm, is that a bug in the ABI doc though?  Bill?  Most older builtins
> return their source type; some newer ones always return unsigned?  Is this
> on purpose?
> 
>> Secondly, the first argument of the vec_insert4b() builtin test case is
>> fixed to match the ABI specification for the builtin.
> 
> The patch is fine for trunk if the ABI doc is correct.  Thanks,
> 
> 
> Segher
> 

Reply via email to