It is useful to give the compiler flags as well as the version.
But yes, the compiler is generating an unnecessary "uxtb" (effectively "and 0xff") instruction. So I agree this is a missed optimisation opportunity. I don't know if it would be a peeophole optimisation - I suspect not.
It is useful to give the compiler flags as well as the version.
But yes, the compiler is generating an unnecessary "uxtb" (effectively "and 0xff") instruction. So I agree this is a missed optimisation opportunity. I don't know if it would be a peeophole optimisation - I suspect not.