This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: post-modify
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: post-modify
- From: Richard Henderson <rth at cygnus dot com>
- Date: Fri, 28 Jul 2000 12:47:32 -0700
- References: <20000728104525.A27105@cygnus.com>
Arg. Naturally I would copy patch revision n-1 from
the ia64 box and apply that to the tree.
r~
* config/ia64/ia64.c (ia64_print_operand): Fix typos.
Sign extend mode size before negating.
Index: config/ia64/ia64.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/ia64/ia64.c,v
retrieving revision 1.35
diff -c -p -d -r1.35 ia64.c
*** ia64.c 2000/07/28 17:46:18 1.35
--- ia64.c 2000/07/28 19:45:21
*************** ia64_print_operand (file, x, code)
*** 1998,2007 ****
case POST_MODIFY:
x = XEXP (XEXP (XEXP (x, 0), 1), 1);
if (GET_CODE (x) == CONST_INT)
! value = INTVAL (y);
else if (GET_CODE (x) == REG)
{
! fprintf (file, ", %s", reg_names[REGNO (y)]);
return;
}
else
--- 1998,2007 ----
case POST_MODIFY:
x = XEXP (XEXP (XEXP (x, 0), 1), 1);
if (GET_CODE (x) == CONST_INT)
! value = INTVAL (x);
else if (GET_CODE (x) == REG)
{
! fprintf (file, ", %s", reg_names[REGNO (x)]);
return;
}
else
*************** ia64_print_operand (file, x, code)
*** 2020,2026 ****
break;
case POST_DEC:
! value = - GET_MODE_SIZE (GET_MODE (x));
if (value == -12)
value = -16;
break;
--- 2020,2026 ----
break;
case POST_DEC:
! value = - (HOST_WIDE_INT) GET_MODE_SIZE (GET_MODE (x));
if (value == -12)
value = -16;
break;