diff options
author | Jan Hubicka <jh@suse.cz> | 2002-05-03 13:35:49 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-05-03 11:35:49 +0000 |
commit | 3b4961bd97dc75a6d80a6f26503a8b759f9eb557 (patch) | |
tree | 2f56e6ecda2181dabdced4f199e16ed7e8d02495 /gcc | |
parent | d6ab05a0bec76b804c58bbe2fd89c472070573b6 (diff) | |
download | gcc-3b4961bd97dc75a6d80a6f26503a8b759f9eb557.zip gcc-3b4961bd97dc75a6d80a6f26503a8b759f9eb557.tar.gz gcc-3b4961bd97dc75a6d80a6f26503a8b759f9eb557.tar.bz2 |
* i386.md (attribute memory): Handle compares properly.
From-SVN: r53085
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ccf510..79ba61c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 7a34608..912efff 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") |