rx.md (mov expander): Fix use of rx_legitimate_constant_p.
authorNick Clifton <nickc@redhat.com>
Fri, 13 May 2011 09:35:28 +0000 (09:35 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 13 May 2011 09:35:28 +0000 (09:35 +0000)
* config/rx/rx.md (mov expander): Fix use of
rx_legitimate_constant_p.
* config/rx/rx-protos.h (rx_legitimate_constant_p): Rename
prototype.

From-SVN: r173727

gcc/ChangeLog
gcc/config/rx/rx-protos.h
gcc/config/rx/rx.md

index d9ae05a491d5593befa3205330b3a8a2c3a9641e..c91a39d7680b5604ec9883b32ea9470df3f723ec 100644 (file)
@@ -1,3 +1,10 @@
+2011-05-13  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.md (mov expander): Fix use of
+       rx_legitimate_constant_p.
+       * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename
+       prototype.
+
 2011-05-13  Kai Tietz  <ktietz@redhat.com>
 
        PR middle-end/48984
index 72cb199ce3052d776112cff474b6703cae00020f..56d69316905bb66bfc601c23a9e6dec3f181c71e 100644 (file)
@@ -31,7 +31,7 @@ extern void             rx_emit_stack_popm (rtx *, bool);
 extern void             rx_emit_stack_pushm (rtx *);
 extern void            rx_expand_epilogue (bool);
 extern char *          rx_gen_move_template (rtx *, bool);
-extern bool            rx_legitimate_constant_p (enum machine_mode, rtx);
+extern bool            rx_is_legitimate_constant (enum machine_mode, rtx);
 extern bool            rx_is_restricted_memory_address (rtx,
                                                         enum machine_mode);
 extern bool            rx_match_ccmode (rtx, enum machine_mode);
index 824d246cb84d7f5aef1cbbafc42e510e9c9e4130..a9cf50e21e34b264f218b37a65ddcf9e1a3cc8ab 100644 (file)
     if (MEM_P (operand0) && MEM_P (operand1))
       operands[1] = copy_to_mode_reg (<register_modes:MODE>mode, operand1);
     if (CONST_INT_P (operand1)
-        && ! rx_legitimate_constant_p (<register_modes:MODE>mode, operand1))
+        && ! rx_is_legitimate_constant (<register_modes:MODE>mode, operand1))
       FAIL;
   }
 )