[SH] PR 39423 - Add support for SH2A movu.w insn

Oleg Endo oleg.endo@t-online.de
Tue Aug 21 09:14:00 GMT 2012


Hello,

This adds support for SH2A's movu.w insn for memory addressing cases as
described in the PR.
Tested on rev 190546 with
make -k check RUNTESTFLAGS="--target_board=sh-sim
\{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"

and no new failures.
OK?

Cheers,
Oleg

ChangeLog:

	PR target/39423
	* config/sh/sh.md (*movhi_index_disp): Add support for SH2A 
	movu.w insn.

testsuite/ChangeLog:

	PR target/39423
	* gcc.target/sh/pr39423-2.c: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr39423_5.patch
Type: text/x-patch
Size: 2222 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120821/a6c66b9b/attachment.bin>


More information about the Gcc-patches mailing list