Commit 7a18508b by Joern Rennecke

sh.h (REG_CLASS_HAS_FP_REG): New.

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60074
parent 83ebfdc0
...@@ -129,6 +129,8 @@ extern void sh_initialize_trampoline PARAMS ((rtx, rtx, rtx)); ...@@ -129,6 +129,8 @@ extern void sh_initialize_trampoline PARAMS ((rtx, rtx, rtx));
extern enum reg_class sh_cannot_change_mode_class extern enum reg_class sh_cannot_change_mode_class
PARAMS ((enum machine_mode, enum machine_mode)); PARAMS ((enum machine_mode, enum machine_mode));
extern void sh_mark_label PARAMS ((rtx, int)); extern void sh_mark_label PARAMS ((rtx, int));
extern int sh_register_move_cost
PARAMS ((enum machine_mode mode, enum reg_class, enum reg_class));
#ifdef HARD_CONST #ifdef HARD_CONST
extern void fpscr_set_from_mem PARAMS ((int, HARD_REG_SET)); extern void fpscr_set_from_mem PARAMS ((int, HARD_REG_SET));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment