From: Nick Clifton Date: Thu, 24 Jul 2014 09:05:27 +0000 (+0000) Subject: rx.md (stack_push): Adjust RTL to account for the fact that operations are taking... X-Git-Tag: releases/gcc-5.1.0~6125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ae9698d085b4607da89b9fe193806cc15794510;p=thirdparty%2Fgcc.git rx.md (stack_push): Adjust RTL to account for the fact that operations are taking place in parallel. * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b436332f6a6e..cf8dfe92da11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-07-24 Nick Clifton + + * 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 * omp-low.c (extract_omp_for_data): Add missing break statement. diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index d55616ed93b2..757f141eb7b9 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -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': diff --git a/gcc/config/rx/rx.h b/gcc/config/rx/rx.h index 050ac68dc8e7..8f3d92bdabf0 100644 --- a/gcc/config/rx/rx.h +++ b/gcc/config/rx/rx.h @@ -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 #define TARGET_USE_FPU (! TARGET_NO_USE_FPU) diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md index ecdfc15b5991..65e9ab92607e 100644 --- a/gcc/config/rx/rx.md +++ b/gcc/config/rx/rx.md @@ -617,7 +617,7 @@ [(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"