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]

cmpstrsi_nz_1 fix



Hi
The cmpstrsi_nz_1 has invalid mode for COMPARE operands.

Tue Aug  1 08:43:42 CEST 2000  Jan Hubicka  <jh@suse.cz>
	* i386.md (cmpstrsi_nz_1): Make compare CCmode.
*** i386.md.old	Mon Jul 10 15:51:23 2000
--- i386.md	Tue Aug  1 08:42:17 2000
***************
*** 9799,9805 ****
    [(set (reg:CC 17)
  	(if_then_else:CC (ne (match_operand:SI 2 "register_operand" "c")
  			     (const_int 0))
! 	  (compare:SI (mem:BLK (match_operand:SI 0 "address_operand" "S"))
  		      (mem:BLK (match_operand:SI 1 "address_operand" "D")))
  	  (const_int 0)))
     (use (match_operand:SI 3 "immediate_operand" "i"))
--- 10121,10127 ----
    [(set (reg:CC 17)
  	(if_then_else:CC (ne (match_operand:SI 2 "register_operand" "c")
  			     (const_int 0))
! 	  (compare:CC (mem:BLK (match_operand:SI 0 "address_operand" "S"))
  		      (mem:BLK (match_operand:SI 1 "address_operand" "D")))
  	  (const_int 0)))
     (use (match_operand:SI 3 "immediate_operand" "i"))

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