Oleg Endo <oleg.e...@t-online.de> wrote: > The attached patch restructures the move insn displacement calculations > a bit more. The idea is to have the displacement addressing decision > making logic in a few simple functions and then re-use those in other > places, as opposed to having multiple special cases. > > Tested against rev 185893 with... > make -k check RUNTESTFLAGS="--target_board=sh-sim > \{-m2/-ml,-m2/-mb,-m2a-single/-mb, > -m4-single/-ml,-m4-single/-mb, > -m4a-single/-ml,-m4a-single/-mb}" > > ...and no new failures. > > I've also checked the CSiBE size results for a bunch of variants. There > is a slight overall code size increase, with a maximum of +0.03% on the > whole set for -m2 -ml/-mb -Os/-O2) due to some changes on how DImode > index range decisions are made. > > OK?
OK. Regards, kaz