This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
cmpstrsi_nz_1 fix
- To: rth at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Subject: cmpstrsi_nz_1 fix
- From: Jan Hubicka <jh at suse dot cz>
- Date: Tue, 1 Aug 2000 10:47:03 +0200
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"))