This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SH] PR 54089 - Add support for rotcr insn
- From: Gary Funck <gary at intrepid dot com>
- To: Oleg Endo <oleg dot endo at t-online dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 20 Aug 2012 14:09:09 -0700
- Subject: Re: [SH] PR 54089 - Add support for rotcr insn
- References: <1345417359.2268.34.camel@yam-132-YW-E178-FTW>
On 08/20/12 01:02:39, Oleg Endo wrote:
> Hello,
>
> This adds support for SH's rotcr insn.
> Tested on rev 190459 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/50489
Above: that should be: PR target/54089.
> * config/sh/sh.md (rotcr, *rotcr, shar, shlr): New insns and
> splits.
> (ashrdi3_k, lshrdi3_k): Rewrite as insn_and_split.
> * config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p): New function.
> * config/sh/sh-protos.h (sh_lshrsi_clobbers_t_reg_p): Declare
> it.
>
> testsuite/ChangeLog:
>
> PR target/50489
Here also.
> * gcc.target/sh/pr54089-1.c: New.
This is OK.
For a sec. I thought my long-standing bug report
got some attention. :)
- Gary