diff options
author | Nick Clifton <nickc@redhat.com> | 2014-01-30 16:22:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2014-01-30 16:22:58 +0000 |
commit | c345a0b156755781956c1f866624e1c3224e9a7c (patch) | |
tree | c63486ae7bd5581ba4354b7b9ef4212a41cc1dd2 | |
parent | 68fca5952947613ca6239242cbd498ac7ce12b7e (diff) | |
download | gcc-c345a0b156755781956c1f866624e1c3224e9a7c.zip gcc-c345a0b156755781956c1f866624e1c3224e9a7c.tar.gz gcc-c345a0b156755781956c1f866624e1c3224e9a7c.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 4 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.md | 3 | ||||
-rw-r--r-- | gcc/config/mn10300/predicates.md | 2 |
5 files changed, 15 insertions, 6 deletions
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 <nickc@redhat.com> + + * 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 <nickc@redhat.com> DJ Delorie <dj@redhat.com> * 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"))) |