[SH] PR 51244 - Remove T_REG alternatives from load/store patterns

Oleg Endo oleg.endo@t-online.de
Mon Jul 23 06:14:00 GMT 2012


Hello,

This removes T_REG alternatives from various load/store patterns.
Tested with

make -k check RUNTESTFLAGS="--target_board=sh-sim
\{-m2/-ml,-m2/-mb,-m2a/-mb,-m2a-single/-mb,-m4/-ml,-m4/-mb,-m4-single/-ml,
-m4-single/-mb,-m4a-single/-ml,-m4a-single/-mb}"

and no new failures.
CSiBE shows no changes in result-size, except for -36 bytes in
flex-2.5.31/scan.c.

OK?

Cheers,
Oleg

ChangeLog:

	PR target/51244
	* config/sh/predicates.md (general_movsrc_operand,
	general_movdst_operand): Reject T_REG.
	* config/sh/sh.md (*extendqisi2_compact_reg, 
	*extendhisi2_compact_reg,
	movsi_i, movsi_ie, movsi_i_lowpart, *movqi_reg_reg, 
	*movhi_reg_reg): Remove T_REG alternatives.
	(*negtstsi): New insn.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr51244_5.patch
Type: text/x-patch
Size: 7528 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120723/45d8ece6/attachment.bin>


More information about the Gcc-patches mailing list