summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-25 19:32:51 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-25 19:32:51 +0000
commit9d69c51ba0bba039a17dfb8b0cf3f632db9aa04d (patch)
treed92b17cb9a834517b7334d000716de6480a5adbf
parent41a6f238b44ca41c7a514ef889b64f7df4532698 (diff)
downloadppe42-gcc-9d69c51ba0bba039a17dfb8b0cf3f632db9aa04d.tar.gz
ppe42-gcc-9d69c51ba0bba039a17dfb8b0cf3f632db9aa04d.zip
* i386.md (memory attribute): Fix setcc attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60503 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.md6
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 318268722c5..dc85f61d1d8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Dec 25 20:30:53 CET 2002 Jan Hubicka <jh@suse.cz>
+
+ * i386.md (memory attribute): Fix setcc attribute.
+
2002-12-25 Kazu Hirata <kazu@cs.umass.edu>
* output.h: Fix comment typos.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 16a5207666a..de459003b9e 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -310,10 +310,14 @@
(if_then_else (match_operand 1 "memory_operand" "")
(const_string "both")
(const_string "store"))
- (eq_attr "type" "pop,setcc")
+ (eq_attr "type" "pop")
(if_then_else (match_operand 0 "memory_operand" "")
(const_string "both")
(const_string "load"))
+ (eq_attr "type" "setcc")
+ (if_then_else (match_operand 0 "memory_operand" "")
+ (const_string "store")
+ (const_string "none"))
(eq_attr "type" "icmp,test,ssecmp,mmxcmp,fcmp")
(if_then_else (ior (match_operand 0 "memory_operand" "")
(match_operand 1 "memory_operand" ""))
OpenPOWER on IntegriCloud