Oleg Endo <oleg.e...@t-online.de> wrote: > These are the peepholes as mentioned in PR 65153 and in PR 61142. They > try to wallpaper some bad RA choices and reduce the CSiBE code size by > approx. 3.9K bytes. > > A problem I ran into with this one is that the peephole2 pass drops > REG_INC notes, which makes the following passes produce garbage > sometimes. Instead of rejecting automodify mems in the peephole2 > patterns, for now I'm manually adding the REG_INC notes after emitting > move insns. Maybe peephole2 could do that automatically in the future. > > Tested with > make -k check RUNTESTFLAGS="--target_board=sh-sim > \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}". > > Kaz, could you also please pre-test this on sh4-linux?
No new failures on trunk revision 220928. Regards, kaz