This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AM33 base and index registers clean-up
- To: Alexandre Oliva <aoliva at cygnus dot com>
- Subject: Re: AM33 base and index registers clean-up
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 02 May 2000 12:20:22 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <or7ldozf2i.fsf@zecarneiro.lsd.ic.unicamp.br>you write:
> --=-=-=
>
> On Apr 21, 2000, Alexandre Oliva <aoliva@cygnus.com> wrote:
>
> > This patch allows all AM33 registers to be used as base and index
> > registers
>
> Here's the patch. Actually, it could still be further split. The
> change to the .md file is required if the change to the .h file is
> installed, but it might be a good idea to install the .md change even
> if the .h doesn't make it.
There's been quite a few patches and I don't remember what (if any) the
code size consequences of this patch were. Any chance you could give me
a fresh before/after comparison using the current sources and the current
sources + this patch?
> * config/mn10300/mn10300.h (REGNO_OK_FOR_BASE_P,
> REGNO_OK_FOR_INDEX_P): Accept any AM33 register on AM33.
> * config/mn10300/mn10300.md (peephole): Use REGNO_DATA_P and
> REGNO_EXTENDED_P instead of REG_OK_FOR_INDEX_P.