This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: subreg fixing (extract_bit_field or simplify_subreg)
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- Cc: rth at redhat dot com, gcc at gcc dot gnu dot org
- Date: Thu, 28 Oct 2004 14:31:45 -0400
- Subject: Re: RFC: subreg fixing (extract_bit_field or simplify_subreg)
- References: <200410281802.i9SI2oJ5012790@faui1g.informatik.uni-erlangen.de>
On Thu, Oct 28, 2004 at 08:02:49PM +0200, Ulrich Weigand wrote:
> Aldy Hernandez wrote:
>
> >...this creates invalid rtl: (subreg:SI (reg:DF 118) 4).
>
> Is 118 a hard reg on your machine? If so, I've just checked
> in a patch that does exactly this:
No. It's a pseudo :-(
> If 118 is a pseudo, I don't see why the RTL would be invalid
> (reload could allocate the pseudo to a general purpose register).
The RTL is invalid because you can't have a SI subreg of a DF value.
Aldy