This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enable push_fpscr. pop_fpscr for SH2E
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, "Jorn Rennecke" <joern dot rennecke at superh dot com>
- Date: 26 Jun 2003 04:35:15 -0300
- Subject: Re: [PATCH] Enable push_fpscr. pop_fpscr for SH2E
- Organization: GCC Team, Red Hat
- References: <69595093233BB547BB70CF5E492B63F2016867E8@sohm.kpit.com>
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