This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cfgexpand.c patch for [was new port: msp430-elf]
- From: DJ Delorie <dj at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: joseph at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 May 2013 13:23:22 -0400
- Subject: Re: cfgexpand.c patch for [was new port: msp430-elf]
- References: <201305070241 dot r472fQp5022965 at greed dot delorie dot com> <Pine dot LNX dot 4 dot 64 dot 1305071639340 dot 22763 at digraph dot polyomino dot org dot uk> <201305102341 dot r4ANf00B024130 at greed dot delorie dot com> <CAFiYyc3W4JZt4OeKQk5nNpMpYKmyr=fszsLuJaA-m2pZRtSNZg at mail dot gmail dot com>
> Can you add that (partial int modes have fewer bits than int modes)
> as verification to genmodes.c:make_partial_integer_mode?
I could, but it would be a no-op for PARTIAL_INT_MODE()
> I wonder if this should not use GET_MODE_PRECISION - after all it is
> the precision that determines whether we have to extend / truncate?
> Or is precision a so much unused term on RTL that this would cause
> problems?
The problem is, the precision of PSImode *is* the same as SImode,
if you just use PARTIAL_INT_MODE() in *-modes.def