[PATCH][AArch64] Improve popcount expansion

Wilco Dijkstra Wilco.Dijkstra@arm.com
Tue Feb 4 10:34:00 GMT 2020


Hi Andrew,

> You might want to add a testcase that the autovectorizers too.
>
> Currently we get also:
>
>        ldr     q0, [x0]
>        addv    b0, v0.16b
>        umov    w0, v0.b[0]
>        ret

My patch doesn't change this case on purpose - there are also many intrinsics 
which generate redundant umovs. That's for a separate patch.

Wilco



More information about the Gcc-patches mailing list