sh.h (REG_CLASS_HAS_FP_REG): New.
authorJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)
        * 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

gcc/config/sh/sh-protos.h

index c87000bceebf235a59efe76cc8d3f851e535d778..4135b334af1808247f984f908301c2a5311180d5 100644 (file)
@@ -129,6 +129,8 @@ extern void sh_initialize_trampoline PARAMS ((rtx, rtx, rtx));
 extern enum reg_class sh_cannot_change_mode_class
              PARAMS ((enum machine_mode, enum machine_mode));
 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
 extern void fpscr_set_from_mem PARAMS ((int, HARD_REG_SET));