* i386.md (attribute memory): Handle compares properly.

From-SVN: r53085
This commit is contained in:
Jan Hubicka 2002-05-03 13:35:49 +02:00 committed by Jan Hubicka
parent d6ab05a0be
commit 3b4961bd97
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
Fri May 3 13:34:43 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.md (attribute memory): Handle compares properly.
Fri May 3 10:51:38 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (sse_clrsf, sse_clrsi): Set memory attribute
* i386.md (sse_clrsf, sse_clrsi): Set memory attribute
to none.
2002-05-02 Kazu Hirata <kazu@cs.umass.edu>

View File

@ -259,7 +259,7 @@
(if_then_else (match_operand 0 "memory_operand" "")
(const_string "both")
(const_string "load"))
(eq_attr "type" "icmp,test")
(eq_attr "type" "icmp,test,ssecmp,mmxcmp,fcmp")
(if_then_else (ior (match_operand 0 "memory_operand" "")
(match_operand 1 "memory_operand" ""))
(const_string "load")
@ -286,7 +286,7 @@
(const_string "store")
(match_operand 1 "memory_operand" "")
(const_string "load")
(and (eq_attr "type" "!icmp,test,alu1,negnot,fsgn,imov,imovx,fmov,fcmp,sse,mmx,ssemov,mmxmov,ssecvt,mmxcvt")
(and (eq_attr "type" "!icmp,test,alu1,negnot,fsgn,imov,imovx,fmov,fcmp,sse,ssecmp,mmx,ssemov,mmxmov,ssecvt,mmxcvt,mmxcmp")
(match_operand 2 "memory_operand" ""))
(const_string "load")
(and (eq_attr "type" "icmov")