This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the EGCS project.
More cleanups for PA64
- To: gcc-patches@egcs.cygnus.com
- Subject: More cleanups for PA64
- From: Jeffrey A Law <law@cygnus.com>
- Date: Fri, 30 Jul 1999 03:02:16 -0600
- Reply-To: law@cygnus.com
compute_zdepi_operands is poorly named, particularly when you consider that
PA64 will need a similar, but different routine to handle depdi,z.
This patch merely renames the function to better indicate that it's meant for
a word sized operand.
* pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
Index: pa.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/pa/pa.c,v
retrieving revision 1.49
diff -c -3 -p -r1.49 pa.c
*** pa.c 1999/07/29 06:21:12 1.49
--- pa.c 1999/07/30 09:00:05
*************** singlemove_string (operands)
*** 1622,1628 ****
useful for copying IMM to a register using the zdepi
instructions. Store the immediate value to insert in OP[0]. */
void
! compute_zdepi_operands (imm, op)
unsigned HOST_WIDE_INT imm;
unsigned *op;
{
--- 1622,1628 ----
useful for copying IMM to a register using the zdepi
instructions. Store the immediate value to insert in OP[0]. */
void
! compute_zdepwi_operands (imm, op)
unsigned HOST_WIDE_INT imm;
unsigned *op;
{
*************** print_operand (file, x, code)
*** 3799,3805 ****
case 'Z':
{
unsigned op[3];
! compute_zdepi_operands (INTVAL (x), op);
fprintf (file, "%d,%d,%d", op[0], op[1], op[2]);
return;
}
--- 3799,3805 ----
case 'Z':
{
unsigned op[3];
! compute_zdepwi_operands (INTVAL (x), op);
fprintf (file, "%d,%d,%d", op[0], op[1], op[2]);
return;
}