Oleg Endo wrote: > On Thu, 2012-09-06 at 14:41 +0200, Georg-Johann Lay wrote: > > The change is definitely in the right direction, but I wonder > > how it helps to fix code bloats of 300%-400% as in PR52543? > > I'm not familiar with the AVR parts. > BTW, There was a small change in lower-subreg which required some > adaptations in targets: > http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00425.html > > See also gcc/config/sh/sh.c (sh_rtx_costs): case SET: ... > Not sure whether it helps in your case.
Those kinds of changes are not required anymore (for most targets), the fallback rtx_cost was amended to more sanely take the mode-size into account, and to handle SET. Whether that is related to PR52543, I don't know. brgds, H-P