On Sat, 2016-04-30 at 10:58 +0900, Oleg Endo wrote: > On Fri, 2016-04-29 at 23:11 +0900, Oleg Endo wrote: > > On Fri, 2016-04-29 at 19:45 +0900, Oleg Endo wrote: > > > On Thu, 2016-04-28 at 10:27 +0900, Oleg Endo wrote: > > > > > > > The removal of SH5 support from GCC has been announced here > > > > https://gcc.gnu.org/ml/gcc/2015-08/msg00101.html > > > > > > > > The attached patch removes support for SH5 in the compiler back > > > > end. > > > > There are still some leftovers and new simplification > > > > opportunities. > > > > These will be addressed in later follow up patches. > > > > > > > > Tested on sh-elf with > > > > > > > > make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/ > > > > -mb, > > > > -m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}" > > > > > > The attached patch removes some leftovers and reinstantes the > > > divsf3 > > > expander pattern which got accidentally deleted by the previous > > > patch. > > > > The attached patch removes SH5 support from libgcc. > > Tested as above. Committed as r235640. > > The attached patch removes SH5 checks in the testsuite. > Committed as r235673. The attached patch removes some remaining superfluous TARGET_SH1 checks. Tested with make -k check-gcc RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb, -m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"; Committed as r235674. Cheers, Oleg gcc/ChangeLog: * config/sh/sh.c (register_sh_passes, sh_option_override, sh_print_operand, prepare_move_operands, sh_can_follow_jump): Remove TARGET_SH1 checks. * config/sh/sh.h (TARGET_VARARGS_PRETEND_ARGS, VALID_REGISTER_P, PROMOTE_MODE): Likewise. * config/sh/sh.md (adddi3, addsi3, subdi3, subsi3, andsi3, movdi): Likewise.