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

--- Comment #2 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
(In reply to Pat Haugen from comment #0)
> 
> Very initial look at profile of bzip2 shows degradation is contained to
> mainSort(), which showed a 54% increase in run cycles. Appears one of the
> calls to mainGtU() is inlined into mainSort in the slow version, but the
> drop in cycle counts on mainGtu is no where close to the increase on
> mainSort.

Appears the inlined copy of mainGtU() creates additional register pressure
which results in register spill being generated in the loop of the inlined
copy. The non-inlined copy of the loop is approx. 125 generated insns, whereas
the inlined copy is about 215 insns (90 spill references).

Reply via email to