OSDN Git Service

* sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2003 17:31:24 +0000 (17:31 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2003 17:31:24 +0000 (17:31 +0000)
commit36a2dfdb85d3fc67b8d5a4852d0ed01bdec76c1a
treeadd95cedb7af8f7a17f8f508b45eb61409595cf9
parentfd2d7dfc4f9feda02b1e33c677b2add5dde2613c
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65379 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h