[Patch,AVR]: Bit of Cleanup [2/3]: Let avr_regno_reg_class return smallest class

Weddington, Eric Eric.Weddington@atmel.com
Thu Aug 25 14:07:00 GMT 2011



> -----Original Message-----
> From: Georg-Johann Lay [mailto:avr@gjlay.de]
> Sent: Thursday, August 25, 2011 7:30 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Denis Chertykov; Weddington, Eric
> Subject: Re: [Patch,AVR]: Bit of Cleanup [2/3]: Let avr_regno_reg_class
> return smallest class
> 
> Georg-Johann Lay wrote:
> > These are three small patches to clean up the avr BE a bit:
> >
> > #1: Use custom macro to test of a string starts with given prefix
> >
> > #2: Let avr_regno_reg_class return smallest register class
> >
> > #3: Replace/remove superfluous byte_immediate_operand and some protos.
> >
> > All patches tested without regression.
> >
> > Ok to install them?
> >
> > Johann
> >
> 
> 	* config/avr/avr.c (reg_class_tab): Make local to
> 	avr_regno_reg_class.  Return smallest register class available.

Ok for #2.



More information about the Gcc-patches mailing list