https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71775
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-* Component|tree-optimization |target --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- On aarch64-linux-gnu with the trunk we get: .L3: rbit x3, x0 sub x1, x0, #1 clz x3, x3 eor x2, x2, x3 ands x0, x0, x1 bne .L3 There is no zero or sign extend.