sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD, this is FP_MODE_DOUBLE .
authorJ"orn Rennecke <joern.rennecke@superh.com>
Tue, 8 Apr 2003 17:31:24 +0000 (17:31 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Tue, 8 Apr 2003 17:31:24 +0000 (18:31 +0100)
commitac55736a0a271f62a2ed018a8d34039d6f458f60
treeadd95cedb7af8f7a17f8f508b45eb61409595cf9
parentf4f2b07a863686ad449b4959c880325a0ebc0dcf
sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD, this is FP_MODE_DOUBLE .

* sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
this is FP_MODE_DOUBLE .
* sh.c (ra.h): #include.
(push_regs): Add second parameter.  Changed all callers.
If necessary, set fpscr before saving floating point registers.
(calc_live_regs): If interrupt handler and TARGET_FMOVD, always
do saves / restores with SZ == 1.
(sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
(sh_expand_epilogue): Likewise.  For TARGET_FMOVD, if floating point
registers are being restored, restore FPSCR only after restoring them.

From-SVN: r65379
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h