aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/sh-protos.h
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@gcc.gnu.org>2002-12-12 16:25:12 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2002-12-12 16:25:12 +0000
commit7a18508b1fdefa738dc502b131d57a909639ec9b (patch)
tree514de3ccef468d7e7b14cd2df69643b96268b79c /gcc/config/sh/sh-protos.h
parent83ebfdc01c89fb8224b77048cbfe11e299a3e587 (diff)
downloadgcc-7a18508b1fdefa738dc502b131d57a909639ec9b.zip
gcc-7a18508b1fdefa738dc502b131d57a909639ec9b.tar.gz
gcc-7a18508b1fdefa738dc502b131d57a909639ec9b.tar.bz2
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
Diffstat (limited to 'gcc/config/sh/sh-protos.h')
-rw-r--r--gcc/config/sh/sh-protos.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h
index c87000b..4135b33 100644
--- a/gcc/config/sh/sh-protos.h
+++ b/gcc/config/sh/sh-protos.h
@@ -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));