aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-12-25 20:32:51 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-12-25 19:32:51 +0000
commitabd2dd6d2227ff0f588efcf85273f9dd4a2e042f (patch)
treed92b17cb9a834517b7334d000716de6480a5adbf /gcc
parentd55d8fc700fd75c7efb3f1e11d1d303cde2dd4d9 (diff)
downloadgcc-abd2dd6d2227ff0f588efcf85273f9dd4a2e042f.zip
gcc-abd2dd6d2227ff0f588efcf85273f9dd4a2e042f.tar.gz
gcc-abd2dd6d2227ff0f588efcf85273f9dd4a2e042f.tar.bz2
* i386.md (memory attribute): Fix setcc attribute.
From-SVN: r60503
Diffstat (limited to 'gcc')
-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 3182687..dc85f61 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 16a5207..de45900 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" ""))