OSDN Git Service

* config/sh/sh.c (prepare_cbranch_operands): Use
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Apr 2009 22:18:34 +0000 (22:18 +0000)
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Apr 2009 22:18:34 +0000 (22:18 +0000)
commit6f2543f88f88a1269736e859bdc44338f4723405
tree8e502cfbce30fa6715f4742f417b8abe52cea619
parent9258414e0e4a23e4916c4f2196345632cb00b6d9
* config/sh/sh.c (prepare_cbranch_operands): Use
LAST_AND_UNUSED_RTX_CODE instead of CODE_FOR_nothing.
(expand_cbranchdi4): Likewise.
(from_compare): Add cast to enum type.
(expand_cbranchsi4): Use add_reg_note.
(output_stack_adjust, push, pop, sh_expand_prologue): Likewise.
(sh_insn_length_adjustment): Use sh_cpu_attr instead of sh_cpu.
(sh_initialize_trampoline): Change 0 to LCT_NORMAL in function call.
(sh_expand_builtin): Change 0 to EXPAND_NORMAL in function call.
* config/sh/sh.md (cbranchsi4): Use LAST_AND_UNUSED_RTX_CODE
instead of CODE_FOR_nothing.
(cbranchdi4): Likewise.  Fix the order of arguments for
gen_rtx_fmt_ee.
(push_fpscr): Use add_reg_note.
(pop_fpscr, movdf_i4+1, reload_outdf__RnFRm+3, reload_outdf__RnFRm+4,
reload_outdf__RnFRm+5, fpu_switch+1, fpu_switch+2): Likewise.

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