[Bug target/119509] Missed optimization on AArch64 for comparison of division equivalent to right shift
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119509 --- Comment #1 from Nick Hudson --- a32 seems similarly affected foo: bic r0, r0, #-16777216 bic r0, r0, #255 cmp r0, #255 movls r0, #0 movhi r0, #1 bx lr Could be foo:
[Bug c/119509] New: Missed optimization on Arm for comparison of division equivalent to right shift
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119509 Bug ID: 119509 Summary: Missed optimization on Arm for comparison of division equivalent to right shift Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severi