mn10300-protos.h (mn10300_store_multiple_operation_p): Rename to mn10300_store_multip...
authorNick Clifton <nickc@redhat.com>
Thu, 30 Jan 2014 16:22:58 +0000 (16:22 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 30 Jan 2014 16:22:58 +0000 (16:22 +0000)
* 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
gcc/config/mn10300/mn10300-protos.h
gcc/config/mn10300/mn10300.c
gcc/config/mn10300/mn10300.md
gcc/config/mn10300/predicates.md

index b659fb59eeeed55f2c3e98a732cdbbe9c7e5e7d5..802aa477f7ead4ef7322784bb7d4d6a9ad8d3348 100644 (file)
@@ -1,3 +1,13 @@
+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>
 
index d03a3c2257e9cdc0a9848515f257f0fba1a1db22..c63c9c585026a17f9f09af8ae481cc96b138ecbc 100644 (file)
@@ -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);
index 68be04c9cc82130110cfb24075dca796e919a46f..1b9581910bf65ee096487b49d0da0b3d7ca25e7f 100644 (file)
@@ -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;
index 4c3fdebcfcd517858cf74f93ec8cc0cb84badaee..6b6381cc3a870d7c3d2d8a534bc874cb8577ebfb 100644 (file)
 {
   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 "";
 }
index 6ed2ecb312c5b3cd3b9acd26eab1fe4404662e66..e56df5c4a486acf915fa514be478c3ac2527b129 100644 (file)
@@ -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")))