[Patch] PR67351 Implement << N & >> N optimizers

Richard Biener richard.guenther@gmail.com
Thu Sep 3 09:58:00 GMT 2015


On Thu, Sep 3, 2015 at 9:29 AM, Hurugalawadi, Naveen
<Naveen.Hurugalawadi@caviumnetworks.com> wrote:
> Hi,
>
> Thanks for all the review and comments.
>
>>> replace the precision test with wi::ltu_p (@1, TYPE_PRECISION (type)
>>> use element_precision instead of TYPE_PRECISION
>
> Please find attached the modified patch as per review comments.
>
> Please review the same and let me know if the patch is okay?

Ok with the tree_fits_uhwi_p checks removed (they are redundant)
and with

+/* { dg-final { scan-assembler-not "<<" } } */
+/* { dg-final { scan-assembler-not ">>" } } */

replaced with

/* { dg-final { scan-tree-dump-not "<<" "optimized" } } */

Thanks,
Richard.

> Regression Tested on AArch64 and X86_64.
>
> Thanks,
> Naveen



More information about the Gcc-patches mailing list