[ARM] Fix CLZ_DEFINED_VALUE_AT_ZERO for vector modes

Yangfei (Felix) felix.yang@huawei.com
Wed Nov 12 03:51:00 GMT 2014


> On Wed, Oct 22, 2014 at 10:49 PM, Michael Collison <michael.collison@linaro.org>
> wrote:
> >
> > Patch that removes extraneous comment attached.
> >
> > The CLZ_DEFINED_VALUE_AT_ZERO macro is hard coded to return 32. For
> > the vector intrinsic vclz this is incorrect and should return the
> > value
> 
> vclz_{s,u}8 ...
> 
> > eight. The CTZ_DEFINED_VALUE_AT_ZERO has the same issue.
> 
> The patch is ok . Sorry about the delay in reviewing this.
> 
> Ramana
> 


Hello,

    Can anybody backport this patch for the 4.8/4.9 branch? They have the same issue too. Thanks.



More information about the Gcc-patches mailing list