This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for incorrect execute/divconst-2.c)
- To: Geoff Keating <geoffk at cygnus dot com>
- Subject: Re: Patch for incorrect execute/divconst-2.c)
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 30 May 2000 11:54:54 +0100
- Cc: hp at bitrange dot com, gcc-patches at gcc dot gnu dot org
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
geoffk@cygnus.com said:
> Sure. Assuming that DImode is 2*HOST_BITS_PER_WIDE_INT wide, - (1 <<
> (HOST_BITS_PER_WIDE_INT - 1) is a CONST_INT, and (1 <<
> (HOST_BITS_PER_WIDE_INT - 1) is a CONST_DOUBLE. CONST_INTs are
> sign-extended, so that -1 has the same representation in all modes.
I've never seen anything like this written down before (not that I'm
disputing what you are saying). Can you add something like this to
rtl.texi (under const_double) to make this explicit.
R.