CRIS: space tweak, committed

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Sun Nov 18 12:13:00 GMT 2001


Todays most important patch...  Built and tested on cris-elf.

	* config/cris/cris.c: Remove whitespace at end of line.

Index: cris.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/cris/cris.c,v
retrieving revision 1.8
diff -p -c -r1.8 cris.c
*** cris.c	2001/11/28 02:37:44	1.8
--- cris.c	2001/11/28 21:48:29
*************** cris_print_index (index, file)
*** 547,553 ****
  	fprintf (file, "[$%s].d", reg_names[REGNO (inner)]);
      }
    else
!     cris_operand_lossage ("unexpected index-type in cris_print_index", 
  			  index);
  }
  
--- 547,553 ----
  	fprintf (file, "[$%s].d", reg_names[REGNO (inner)]);
      }
    else
!     cris_operand_lossage ("unexpected index-type in cris_print_index",
  			  index);
  }
  
*************** cris_print_base (base, file)
*** 563,569 ****
    else if (GET_CODE (base) == POST_INC)
      fprintf (file, "$%s+", reg_names[REGNO (XEXP (base, 0))]);
    else
!     cris_operand_lossage ("unexpected base-type in cris_print_base", 
  			  base);
  }
  
--- 563,569 ----
    else if (GET_CODE (base) == POST_INC)
      fprintf (file, "$%s+", reg_names[REGNO (XEXP (base, 0))]);
    else
!     cris_operand_lossage ("unexpected base-type in cris_print_base",
  			  base);
  }
  
*************** cris_target_asm_function_epilogue (file,
*** 1094,1100 ****
  	      fprintf (file, save_last);
  	      *save_last = 0;
  	    }
! 	
  	  if (file)
  	    fprintf (file, "\tAdd%s %d,$sp\n",
  		     ADDITIVE_SIZE_MODIFIER (argspace_offset),
--- 1094,1100 ----
  	      fprintf (file, save_last);
  	      *save_last = 0;
  	    }
! 
  	  if (file)
  	    fprintf (file, "\tAdd%s %d,$sp\n",
  		     ADDITIVE_SIZE_MODIFIER (argspace_offset),
*************** cris_split_movdx (operands)
*** 2689,2699 ****
  
            if (GET_CODE (addr) == POST_INC)
  	    {
! 	      emit_insn (gen_rtx_SET (VOIDmode, 
  				      operand_subword (dest, 0, TRUE, mode),
  				      change_address (src, SImode, addr)));
  	      emit_insn (gen_rtx_SET (VOIDmode,
! 				      operand_subword (dest, 1, TRUE, mode), 
  				      change_address (src, SImode, addr)));
  	    }
  	  else
--- 2689,2699 ----
  
            if (GET_CODE (addr) == POST_INC)
  	    {
! 	      emit_insn (gen_rtx_SET (VOIDmode,
  				      operand_subword (dest, 0, TRUE, mode),
  				      change_address (src, SImode, addr)));
  	      emit_insn (gen_rtx_SET (VOIDmode,
! 				      operand_subword (dest, 1, TRUE, mode),
  				      change_address (src, SImode, addr)));
  	    }
  	  else
*************** rtx
*** 3014,3020 ****
  Xvecexp (x, n, m)
       rtx x;
       int n;
! { 
    return XVECEXP (x, n, m);
  }
  
--- 3014,3020 ----
  Xvecexp (x, n, m)
       rtx x;
       int n;
! {
    return XVECEXP (x, n, m);
  }
  

brgds, H-P



More information about the Gcc-patches mailing list