Another movdf_hardfloat32 patch

David Edelsohn dje@watson.ibm.com
Fri Jun 25 12:19:00 GMT 1999


	I think that the appended patch should fix this problem. 

David


Fri Jun 25 15:18:27 1999  David Edelsohn  <edelsohn@gnu.org>

	* rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.

*** /u/dje/src/GNU/egcs/gcc/config/rs6000/rs6000.c	Fri Jun 25 02:04:20 1999
--- rs6000.c	Fri Jun 25 15:17:26 1999
***************
*** 2694,2701 ****
  	  if (GET_CODE (XEXP (x, 0)) == PRE_INC
  	      || GET_CODE (XEXP (x, 0)) == PRE_DEC)
! 	    output_address (plus_constant (XEXP (XEXP (x, 0), 0),
! 					   UNITS_PER_WORD));
  	  else
! 	    output_address (plus_constant (XEXP (x, 0), UNITS_PER_WORD));
  	  if (small_data_operand (x, GET_MODE (x)))
  	    fprintf (file, "@%s(%s)", SMALL_DATA_RELOC,
--- 2694,2702 ----
  	  if (GET_CODE (XEXP (x, 0)) == PRE_INC
  	      || GET_CODE (XEXP (x, 0)) == PRE_DEC)
! 	    output_address (plus_constant_for_output (XEXP (XEXP (x, 0), 0),
! 						      UNITS_PER_WORD));
  	  else
! 	    output_address (plus_constant_for_output (XEXP (x, 0),
! 						      UNITS_PER_WORD));
  	  if (small_data_operand (x, GET_MODE (x)))
  	    fprintf (file, "@%s(%s)", SMALL_DATA_RELOC,


More information about the Gcc-patches mailing list