> -----Original Message----- > From: Jeff Law <l...@redhat.com> > Sent: Sunday, April 5, 2020 9:45 PM > To: Michael Eager <ea...@eagercon.com>; Nagaraju Mekala > <nmek...@xilinx.com>; gcc-patches@gcc.gnu.org > Cc: Sadanand Mutyala <sada...@xilinx.com>; klauspeter...@gmail.com > Subject: Re: [PATCH]Microblaze: Fixed missing save of r18 in fast_interrupt. > > On Sat, 2020-04-04 at 11:16 -0700, Michael Eager wrote: > > OK to apply. Thank you.
> > On 4/4/20 2:18 AM, Nagaraju Mekala wrote: > > > Hello All, > > > > > > Fixed missing save of r18 in fast_interrupt. > > > Register 18 is used as a clobber register, and must be stored when > > > entering a fast_interrupt. Before this fix, register 18 was only > > > saved if it was used directly in the interrupt function. > > > > > > However, if the fast_interrupt function called a function that used > > > r18, the register would not be saved, and thus be mangled upon > > > returning from the interrupt. > > > > > > Changelog > > > 2020-04-04 Klaus Petersen <klauspeter...@gmail.com> > > > * gcc/config/microblaze/microblaze.c: Check for fast_interrupt > > > in > > > microblaze_must_save_register. > > > > > > Signed-off-by: Klaus Petersen <klauspeter...@gmail.com> > > > Signed-off-by :Nagaraju Mekala <nmek...@xilix.com> > Fixed up the ChangeLog and trailing whitespace nits and pushed to the trunk. Thank you. I will take care of it from next time. - Nagaraju > THanks, > jeff >