This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to define "implicit extend"
- From: Richard Henderson <rth at redhat dot com>
- To: devik <devik at cdi dot cz>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 16 Dec 2002 19:44:28 +0000
- Subject: Re: How to define "implicit extend"
- References: <Pine.LNX.4.33.0212130036380.518-100000@devix>
On Fri, Dec 13, 2002 at 12:40:33AM +0100, devik wrote:
> Is there way to tell GCC that all registers can be zero_extended
> just by pretending they already are ?
Kind of, but you don't want to do that -- it'll get you into
more trouble than you want. What you want is to add patterns
such that the composition of zero_extend and the original
operation is visible to the combiner.
r~