[SH][committed] Fix PR 64652

Oleg Endo oleg.endo@t-online.de
Tue Jan 20 02:01:00 GMT 2015


On Sun, 2015-01-18 at 19:14 +0100, Oleg Endo wrote:
> Hi,
> 
> The attached patch fixes PR 64652.  Tested with
> make -k check-gcc RUNTESTFLAGS="sh-torture.exp --target_board=sh-sim
> \{-m2/-ml,-m2/-mb,-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"
> Committed as r219824.
> 
> Cheers,
> Oleg
> 
> gcc/ChangeLog:
> 	PR target/64652
> 	* config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
> 	reg appear first in the parallel.
> 
> gcc/testsuite/ChangeLog:
> 	PR target/64652
> 	* gcc.target/sh/torture/pr64652.c: New.

I forgot to add the unsigned div test case that checks the udivsi3_i4
insn.  Committed as r219870.

Cheers,
Oleg

gcc/testsuite/ChangeLog:
	PR target/64652
	* gcc.target/sh/torture/pr64652.c (test): Rename to test_0.
	(test_1): New.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh_pr64652_1.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150120/d06c21f4/attachment.bin>


More information about the Gcc-patches mailing list