From c345a0b156755781956c1f866624e1c3224e9a7c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Jan 2014 16:22:58 +0000 Subject: mn10300-protos.h (mn10300_store_multiple_operation_p): Rename to mn10300_store_multiple_regs. * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p): Rename to mn10300_store_multiple_regs. * config/mn10300/mn10300.c: Likewise. * config/mn10300/mn10300.md (store_movm): Fix typo: call store_multiple_regs. * config/mn10300/predicates.md (mn10300_store_multiple_operation): Call mn10300_store_multiple_regs. From-SVN: r207310 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/mn10300/mn10300-protos.h | 2 +- gcc/config/mn10300/mn10300.c | 4 ++-- gcc/config/mn10300/mn10300.md | 3 +-- gcc/config/mn10300/predicates.md | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b659fb5..802aa47 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,14 @@ 2014-01-30 Nick Clifton + + * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p): + Rename to mn10300_store_multiple_regs. + * config/mn10300/mn10300.c: Likewise. + * config/mn10300/mn10300.md (store_movm): Fix typo: call + store_multiple_regs. + * config/mn10300/predicates.md (mn10300_store_multiple_operation): + Call mn10300_store_multiple_regs. + +2014-01-30 Nick Clifton DJ Delorie * config/rl78/rl78.c (register_sizes): Make the "upper half" of diff --git a/gcc/config/mn10300/mn10300-protos.h b/gcc/config/mn10300/mn10300-protos.h index d03a3c2..c63c9c5 100644 --- a/gcc/config/mn10300/mn10300-protos.h +++ b/gcc/config/mn10300/mn10300-protos.h @@ -32,7 +32,7 @@ extern void mn10300_print_operand (FILE *, rtx, int); extern void mn10300_print_operand_address (FILE *, rtx); extern void mn10300_print_reg_list (FILE *, int); extern enum machine_mode mn10300_select_cc_mode (enum rtx_code, rtx, rtx); -extern int mn10300_store_multiple_operation_p (rtx); +extern unsigned int mn10300_store_multiple_regs (rtx); extern int mn10300_symbolic_operand (rtx, enum machine_mode); extern void mn10300_split_cbranch (enum machine_mode, rtx, rtx); extern int mn10300_split_and_operand_count (rtx); diff --git a/gcc/config/mn10300/mn10300.c b/gcc/config/mn10300/mn10300.c index 68be04c..1b95819 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -1239,8 +1239,8 @@ mn10300_expand_epilogue (void) parallel. If OP is a multiple store, return a mask indicating which registers it saves. Return 0 otherwise. */ -int -mn10300_store_multiple_operation_p (rtx op) +unsigned int +mn10300_store_multiple_regs (rtx op) { int count; int mask; diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index 4c3fdeb..6b6381c 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -2059,8 +2059,7 @@ { fputs ("\tmovm ", asm_out_file); mn10300_print_reg_list (asm_out_file, - mn10300_store_multiple_operation (operands[0], - VOIDmode)); + mn10300_store_multiple_regs (operands[0])); fprintf (asm_out_file, ",(sp)\n"); return ""; } diff --git a/gcc/config/mn10300/predicates.md b/gcc/config/mn10300/predicates.md index 6ed2ecb..e56df5c 100644 --- a/gcc/config/mn10300/predicates.md +++ b/gcc/config/mn10300/predicates.md @@ -70,4 +70,4 @@ (define_predicate "mn10300_store_multiple_operation" (and (match_code "parallel") - (match_test "mn10300_store_multiple_operation_p (op)"))) + (match_test "mn10300_store_multiple_regs (op) != 0"))) -- cgit v1.1