https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115344
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andi Kleen from comment #2) > x86 doesn't have hardware do loops, it's only for some obscure targets like > some DSPs. Actually doloop was added to support rs6000(powerpc)'s loop counter register ... So it is not just for obscure DSPs targets.