diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-23 09:07:01 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-23 09:07:01 +0000 |
commit | b858a9f047ea17419780553b752d6579529dcb2a (patch) | |
tree | acab3f7effe2402f059d8d92bc8d924468d54621 | |
parent | a9684879cbb1167210cf4aa80eb6ea6580eece39 (diff) | |
download | gcc-b858a9f047ea17419780553b752d6579529dcb2a.tar.gz |
gcc/
* config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation):
Delete.
(mn10300_store_multiple_operation_p): Declare.
* config/mn10300/mn10300.c (mn10300_store_multiple_operation):
Rename to...
(mn10300_store_multiple_operation_p): ...this and remove mode
argument.
* config/mn10300/predicates.md (mn10300_store_multiple_operation):
Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205302 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 12 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.c | 3 | ||||
-rw-r--r-- | gcc/config/mn10300/predicates.md | 4 |
4 files changed, 18 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3fdcbe555e..dfc293517cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,17 @@ 2013-11-23 Richard Sandiford <rdsandiford@googlemail.com> + * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation): + Delete. + (mn10300_store_multiple_operation_p): Declare. + * config/mn10300/mn10300.c (mn10300_store_multiple_operation): + Rename to... + (mn10300_store_multiple_operation_p): ...this and remove mode + argument. + * config/mn10300/predicates.md (mn10300_store_multiple_operation): + Define. + +2013-11-23 Richard Sandiford <rdsandiford@googlemail.com> + * config/bfin/bfin-protos.h (push_multiple_operation): Delete. (pop_multiple_operation): Delete. (analyze_push_multiple_operation): Declare. diff --git a/gcc/config/mn10300/mn10300-protos.h b/gcc/config/mn10300/mn10300-protos.h index 8487064bd04..9044b73b871 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 (rtx, enum machine_mode); +extern int mn10300_store_multiple_operation_p (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 7304e8638c7..c23f7c7c792 100644 --- a/gcc/config/mn10300/mn10300.c +++ b/gcc/config/mn10300/mn10300.c @@ -1240,8 +1240,7 @@ mn10300_expand_epilogue (void) registers it saves. Return 0 otherwise. */ int -mn10300_store_multiple_operation (rtx op, - enum machine_mode mode ATTRIBUTE_UNUSED) +mn10300_store_multiple_operation_p (rtx op) { int count; int mask; diff --git a/gcc/config/mn10300/predicates.md b/gcc/config/mn10300/predicates.md index 6ce5016bbb7..6ad0c68bcd6 100644 --- a/gcc/config/mn10300/predicates.md +++ b/gcc/config/mn10300/predicates.md @@ -67,3 +67,7 @@ (define_predicate "liw_operand" (ior (match_operand 0 "register_operand") (match_test "satisfies_constraint_O (op)"))) + +(define_predicate "mn10300_store_multiple_operation" + (and (match_code "parallel") + (match_test "mn10300_store_multiple_operation_p (op)"))) |