This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

More cleanups for PA64



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;
        }





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]