]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rx.md (stack_push): Adjust RTL to account for the fact that operations are taking...
authorNick Clifton <nickc@redhat.com>
Thu, 24 Jul 2014 09:05:27 +0000 (09:05 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 24 Jul 2014 09:05:27 +0000 (09:05 +0000)
* config/rx/rx.md (stack_push): Adjust RTL to account for the fact
that operations are taking place in parallel.
* config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.

From-SVN: r212973

gcc/ChangeLog
gcc/config/rx/rx.c
gcc/config/rx/rx.h
gcc/config/rx/rx.md

index b436332f6a6ea2edc9e1ce77fd43fee06c5c0340..cf8dfe92da11e2912247a0c961a0d61498bd0806 100644 (file)
@@ -1,3 +1,9 @@
+2014-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.md (stack_push): Adjust RTL to account for the fact
+       that operations are taking place in parallel.
+       * config/rx.h (FRAME_POINTER_CFA_OFFSET): Delete.
+
 2014-07-24  Thomas Schwinge  <thomas@codesourcery.com>
 
        * omp-low.c (extract_omp_for_data): Add missing break statement.
index d55616ed93b26d7707c14dabeae363992bb8d594..757f141eb7b9ec6ebe53c5183307f7f11f20710d 100644 (file)
@@ -734,7 +734,7 @@ rx_print_operand (FILE * file, rtx op, int letter)
       break;
 
     case 'R':
-      gcc_assert (GET_MODE_SIZE (GET_MODE (op)) < 4);
+      gcc_assert (GET_MODE_SIZE (GET_MODE (op)) <= 4);
       unsigned_load = true;
       /* Fall through.  */
     case 'Q':
index 050ac68dc8e74c6da9d845347da9a03fc7c1b439..8f3d92bdabf0dbd8c1b4c4d833245352d0a7374d 100644 (file)
@@ -645,7 +645,6 @@ typedef unsigned int CUMULATIVE_ARGS;
 
 #define INCOMING_FRAME_SP_OFFSET               4
 #define ARG_POINTER_CFA_OFFSET(FNDECL)         4
-#define FRAME_POINTER_CFA_OFFSET(FNDECL)       4
 \f
 #define TARGET_USE_FPU         (! TARGET_NO_USE_FPU)
 
index ecdfc15b599129a7fdd7cdcdc86e4468b8374145..65e9ab92607e076bc6fcd99f77a52b887e8a3fe3 100644 (file)
   [(set (reg:SI SP_REG)
        (minus:SI (reg:SI SP_REG)
                  (const_int 4)))
-   (set (mem:SI (reg:SI SP_REG))
+   (set (mem:SI (minus:SI (reg:SI SP_REG) (const_int 4)))
        (match_operand:SI 0 "register_operand" "r"))]
   ""
   "push.l\t%0"