This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in reload_cse_move2add()
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: Bug in reload_cse_move2add()
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Wed, 17 Jan 2001 15:37:06 +0000 (GMT)
- Cc: amylaar at redhat dot com (Joern Rennecke), rearnsha at arm dot com,rearnsha at buzzard dot freeserve dot co dot uk (Richard Earnshaw),gcc-patches at gcc dot gnu dot org, law at redhat dot com
>
> On Jan 17, 2001, Joern Rennecke <amylaar@redhat.com> wrote:
>
> > You ignore the problem of multi-hard-register stores.
>
> Do I? It seems to me that it should work just fine. Not only the
> luid is used, but also the reg number. So multiple sets in the same
> insn should work. What am I missing?
A single register rtx can refer to multiple hard registers. E.g. on
a target with BITS_PER_UNIT == 8 and UNITS_PER_WORD == 32,
(reg:DI 0) usually refers to two hard regs.