From: Nick Clifton Date: Tue, 25 Aug 1998 13:36:14 +0000 (+0000) Subject: Fi xexecute/bcp-1.c: Treat CONSTANT_P_RTX as a general operand in movsi. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55895a7a348f8641fed1925242f16108f1beef5a;p=gcc.git Fi xexecute/bcp-1.c: Treat CONSTANT_P_RTX as a general operand in movsi. From-SVN: r21972 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6dd8561597..d09c48d2588 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 25 13:35:20 1998 Nick Clifton + + * config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX + as an ordinary operand. + Tue Aug 25 12:54:57 1998 Jason Merrill * tree.c (valid_machine_attribute): Don't apply attributes to both diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c index 0962c779145..93fa8308018 100644 --- a/gcc/config/v850/v850.c +++ b/gcc/config/v850/v850.c @@ -955,6 +955,7 @@ movsi_source_operand (op, mode) must be done with HIGH & LO_SUM patterns. */ if (CONSTANT_P (op) && GET_CODE (op) != HIGH + && GET_CODE (op) != CONSTANT_P_RTX && !(GET_CODE (op) == CONST_INT && (CONST_OK_FOR_J (INTVAL (op)) || CONST_OK_FOR_K (INTVAL (op))