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


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

Fix more minor problems with x86 move change


I'm not doing too well today ...

Sun Feb 25 08:34:23 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
	* config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.

*** config/i386/i386-protos.h	2001/02/25 01:28:23	1.42
--- config/i386/i386-protos.h	2001/02/25 16:33:10
*************** extern enum reg_class ix86_preferred_rel
*** 141,144 ****
--- 141,146 ----
  extern int ix86_memory_move_cost PARAMS ((enum machine_mode, enum reg_class,
  					  int));
+ extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx));
+ 
  
  #ifdef TREE_CODE
*************** extern rtx ix86_expand_builtin PARAMS ((
*** 152,157 ****
  
  #endif
- 
- extern void ix86_set_move_mem_attrs PARAMS ((rtx, rtx, rtx, rtx, rtx));
  
  #ifdef TREE_CODE
--- 154,157 ----
*** config/i386/i386.c	2001/02/25 01:28:23	1.223
--- config/i386/i386.c	2001/02/25 16:33:18
*************** ix86_set_move_mem_attrs_1 (x, dstref, sr
*** 7406,7410 ****
        else if (*format_ptr == 'E')
  	for (j = XVECLEN (x, i) - 1; j >= 0; j--)
! 	  ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcreg,
  				     dstreg, srcreg);
      }
--- 7406,7410 ----
        else if (*format_ptr == 'E')
  	for (j = XVECLEN (x, i) - 1; j >= 0; j--)
! 	  ix86_set_move_mem_attrs_1 (XVECEXP (x, i, j), dstref, srcref,
  				     dstreg, srcreg);
      }


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