diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ccf51007ba..79ba61c39b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,10 @@ +Fri May 3 13:34:43 CEST 2002 Jan Hubicka + + * i386.md (attribute memory): Handle compares properly. + Fri May 3 10:51:38 CEST 2002 Jan Hubicka - * 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 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 7a34608af45..912efffff6b 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -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")