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]
Other format: [Raw text]

Re: [PATCH] Enable push_fpscr. pop_fpscr for SH2E


On Jun 26, 2003, "Dhananjay R. Deshpande" <dhananjayd@KPITCummins.com> wrote:

> fpu_switch is used for mode switching only for SH4. But sometime
> last year a patch enabled fpscr to be pushed in interrupt handler if
> it is live which requires push and pop fpscr patterns.

Ah, yes, indeed, I had misunderstood the logic in push_regs().  Still,
I don't see how calc_live_regs() can possibly mark fpscr as used in
SH2e or SH3e.  Anyway, there's no reason to not expose the patterns
since they *are* available on SH2e, so...  Please check it in, if you
can, or post the patch again letting me know you need someone else to
check it in for you (I ask you to post it again just so that someone
looking for the patch in gcc-patches, two years from now, finds it
posted at a date similar to that in the ChangeLog, not half a year
before :-).  Thanks, and sorry about the long delay!

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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