This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: "Maciej W. Rozycki" <macro at linux-mips dot org>, Nigel Stephens <nigel at mips dot com>, gcc-patches at gcc dot gnu dot org, linux-mips at linux-mips dot org
- Date: Thu, 2 Sep 2004 23:53:31 -0700
- Subject: Re: [patch] MIPS/gcc: Revert removal of DImode shifts for 32-bit targets
- References: <87acxcbxfl.fsf@redhat.com> <410F5964.3010109@mips.com> <876580bm2e.fsf@redhat.com> <410F60DF.9020400@mips.com> <Pine.LNX.4.58L.0408042123030.31930@blysk.ds.pg.gda.pl> <87r7qiwz54.fsf@redhat.com> <20040809220838.GE16493@redhat.com> <87zn5336h7.fsf@redhat.com> <20040810232020.GA21922@redhat.com> <87eklnw0g7.fsf@redhat.com>
On Tue, Aug 31, 2004 at 08:51:20PM +0100, Richard Sandiford wrote:
> int TARGET_SHIFT_TRUNCATION_MASK (enum machine_mode MODE)
...
> Note that, unlike `SHIFT_COUNT_TRUNCATED', this function does
> _not_ apply to general shift rtxes; it applies only to instructions
> that are generated by the named shift patterns.
I'm not particularly thrilled about this notion. I'd much prefer a
target hook that could replace SHIFT_COUNT_TRUNCATED. How often are
the named patterns going to differ from the rtxes anyway?
r~