]> git.ipfire.org Git - thirdparty/gcc.git/commit
svn ci -m "introduce bank[0,1] registers and fix rte delay slot scheduling"
authorChristian Bruel <christian.bruel@st.com>
Thu, 21 Jun 2007 08:58:53 +0000 (10:58 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Thu, 21 Jun 2007 08:58:53 +0000 (10:58 +0200)
commit5c7cafa8dc040ac9573f81ce9f9cdd6111ca83a4
tree8d7710b8980080d3eb483bf37da36f82da80d011
parent86488aa376bcc3c3e34acf895039236e7f107c94
svn ci -m "introduce bank[0,1] registers and fix rte delay slot scheduling"

2007-06-21  Christian Bruel  <christian.bruel@st.com>

* config/sh/sh-protos.h (sh_loads_bankedreg_p): Declare.
* config/sh/sh.c (sh_loads_bankedreg_p): New function.
(push_regs): Changed saving order or banked registers.
(sh_expand_epilogue): Likewise.
* config/sh/sh.h (BANKED_REGISTER_P): New macro.
(FIRST_BANKED_REG): Likewise.
(LAST_BANKED_REG): Likewise.
* config/sh/sh.md (banked) New attribute.
(in_delay_slot): Check banked attribute.

2007-06-21  Christian Bruel  <christian.bruel@st.com>

* gcc.dg/attr-isr.c: Test delay slot content.

From-SVN: r125914
gcc/ChangeLog
gcc/config/sh/sh-protos.h
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-isr.c