OSDN Git Service

* config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New.
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 2009 22:25:06 +0000 (22:25 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Aug 2009 22:25:06 +0000 (22:25 +0000)
commitcc24427cdc2401f499a19df7550138f8911ec05e
treec06c38535dd2071c8584011e69f62f150c8e33df
parentc3023e22eb19eb3dad408a20ef7ea89f860b8be0
* config/m32c/m32c.md (UNS_FSETB, UNS_FREIT): New.
* config/m32c/prologue.md (epilogue_freit): New.
(fset_b): New.
* config/m32c/m32c.c (m32c_function_needs_enter): Add prototype.
(bank_switch_p): Likewise.
(fast_interrupt_p): Likewise.
(interrupt_p): Likewise.
(m32c_conditional_register_usage): Round memregs size up.
(need_to_save): We only need to save $a0 when we use ENTER.
(interrupt_p): Check for fast_interrupt too.
(bank_switch_p): New.
(fast_interrupt_p): New.
(m32c_attribute_table): Add bank_switch and fast_interrupt.
(m32c_emit_prolog): Support bank switching and fast interrupts.
* doc/extend.texi (Function Attributes): Add bank_switch and
fast_interrupt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150862 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m32c/m32c.c
gcc/config/m32c/m32c.md
gcc/config/m32c/prologue.md
gcc/doc/extend.texi