https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90582
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > I assume EOR / CBNZ is as at least as efficient as SUBS / BNE on > all/most AArch64 microarchitectures, but someone should check. It is similar as x86 with that respect on some cores (Marvell's cores mostly). That is ThunderX, ThunderX 2 and OcteonTX and OcteonTX2 all have the ability to do macro-combining of the two instructions into one micro-op.