> -----Original Message----- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Wednesday, March 23, 2011 10:24 AM > To: Weddington, Eric > Cc: Georg-Johann Lay; gcc-patches@gcc.gnu.org; Denis Chertykov; Anatoly > Sokolov; Joerg Wunsch > Subject: Re: [Patch][AVR]: Use define_c_enum where appropriate > > > + "AVR_HAVE_MUL" > > + "fmuls %1,%2 > > + movw %0,r0 > > + clr r1" > > The rest of the port is fairly consistent using __zero_reg__ instead > of r1. You probably want to continue that.
Yes, we will definitely need to use __zero_reg__ as there are new avr device variants (that need to be committed) where r0-r15 don't exist, which means that __zero_reg__ won't always be r1.