+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>
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);
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;
{
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 "";
}
(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")))