This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AM33 base and index registers clean-up



  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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]