https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88760

--- Comment #26 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Yeah, and it probably should be a param (that different targets can default
differently, per CPU probably).  On most Power CPUs all loops take a minimum
number of cycles per iteration (say, three), but that translates to a lot of
instructions (say, >10).

Small loops should probably be unrolled at -O2 already as well.  Maybe fixed
length loops only?

Reply via email to