* i386.md (attribute memory): Handle compares properly.
authorJan Hubicka <jh@suse.cz>
Fri, 3 May 2002 11:35:49 +0000 (13:35 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 3 May 2002 11:35:49 +0000 (11:35 +0000)
From-SVN: r53085

gcc/ChangeLog
gcc/config/i386/i386.md

index 8ccf51007baa448b7f7672ba1dbfc67c07009196..79ba61c39b8a06bec22a488e0da23026237ce695 100644 (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>
index 7a34608af452df77b3093ff1f67d58848156be1d..912efffff6b6540d97b13123158f60e1c0a3836f 100644 (file)
           (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")
           (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")