Commit c345a0b1 by Nick Clifton Committed by Nick Clifton

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
parent 68fca595
2014-01-30 Nick Clifton <nickc@redhat.com> 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> DJ Delorie <dj@redhat.com>
* config/rl78/rl78.c (register_sizes): Make the "upper half" of * config/rl78/rl78.c (register_sizes): Make the "upper half" of
......
...@@ -32,7 +32,7 @@ extern void mn10300_print_operand (FILE *, rtx, int); ...@@ -32,7 +32,7 @@ extern void mn10300_print_operand (FILE *, rtx, int);
extern void mn10300_print_operand_address (FILE *, rtx); extern void mn10300_print_operand_address (FILE *, rtx);
extern void mn10300_print_reg_list (FILE *, int); extern void mn10300_print_reg_list (FILE *, int);
extern enum machine_mode mn10300_select_cc_mode (enum rtx_code, rtx, rtx); 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 int mn10300_symbolic_operand (rtx, enum machine_mode);
extern void mn10300_split_cbranch (enum machine_mode, rtx, rtx); extern void mn10300_split_cbranch (enum machine_mode, rtx, rtx);
extern int mn10300_split_and_operand_count (rtx); extern int mn10300_split_and_operand_count (rtx);
......
...@@ -1239,8 +1239,8 @@ mn10300_expand_epilogue (void) ...@@ -1239,8 +1239,8 @@ mn10300_expand_epilogue (void)
parallel. If OP is a multiple store, return a mask indicating which parallel. If OP is a multiple store, return a mask indicating which
registers it saves. Return 0 otherwise. */ registers it saves. Return 0 otherwise. */
int unsigned int
mn10300_store_multiple_operation_p (rtx op) mn10300_store_multiple_regs (rtx op)
{ {
int count; int count;
int mask; int mask;
......
...@@ -2059,8 +2059,7 @@ ...@@ -2059,8 +2059,7 @@
{ {
fputs ("\tmovm ", asm_out_file); fputs ("\tmovm ", asm_out_file);
mn10300_print_reg_list (asm_out_file, mn10300_print_reg_list (asm_out_file,
mn10300_store_multiple_operation (operands[0], mn10300_store_multiple_regs (operands[0]));
VOIDmode));
fprintf (asm_out_file, ",(sp)\n"); fprintf (asm_out_file, ",(sp)\n");
return ""; return "";
} }
......
...@@ -70,4 +70,4 @@ ...@@ -70,4 +70,4 @@
(define_predicate "mn10300_store_multiple_operation" (define_predicate "mn10300_store_multiple_operation"
(and (match_code "parallel") (and (match_code "parallel")
(match_test "mn10300_store_multiple_operation_p (op)"))) (match_test "mn10300_store_multiple_regs (op) != 0")))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment