[SH] PR 51244 - Handle T bit -> 0x7FFFFFFF / 0x80000000

Oleg Endo oleg.endo@t-online.de
Mon Oct 1 19:35:00 GMT 2012


Hello,

This handles the case where the T bit is stored to a reg as the value
0x7FFFFFFF or 0x80000000.
Tested on rev 191894 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

gcc/ChangeLog:

	PR target/51244
	* config/sh/sh.md (*mov_t_msb_neg): New insn and two 
	accompanying unnamed split patterns.

testsuite/ChangeLog:

	PR target/51244
	* gcc.target/sh/pr51244-12.c: New.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr51244_13.patch
Type: text/x-patch
Size: 3759 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121001/841ef9e1/attachment.bin>


More information about the Gcc-patches mailing list