aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-12-30 14:16:13 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-12-30 13:16:13 +0000
commitd49b398c60415afa70aa8a95dbf706c79109a24d (patch)
treefd9cca2c506828c8335e0aee92b35217fdbc617e
parent15cd18b9a469833eed13556a1f941526d6c23ec8 (diff)
downloadgcc-d49b398c60415afa70aa8a95dbf706c79109a24d.zip
gcc-d49b398c60415afa70aa8a95dbf706c79109a24d.tar.gz
gcc-d49b398c60415afa70aa8a95dbf706c79109a24d.tar.bz2
re PR target/18019 (-march=pentium4 generates word fetch instead of byte fetch)
PR target/18019 * i386.md (movqi_1): Fix -Os instruction choice. From-SVN: r92733
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4c3d8a6..ccf7dda 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-30 Jan Hubicka <jh@suse.cz>
+
+ PR target/18019
+ * i386.md (movqi_1): Fix -Os instruction choice.
+
2004-12-30 Steven Bosscher <stevenb@suse.de>
* global.c (regclass_intersect): Remove.
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index ad32750..44549d4 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -1489,13 +1489,13 @@
(eq_attr "type" "imovx")
(const_string "SI")
(and (eq_attr "type" "imov")
- (and (eq_attr "alternative" "0,1,2")
+ (and (eq_attr "alternative" "0,1")
(ne (symbol_ref "TARGET_PARTIAL_REG_DEPENDENCY")
(const_int 0))))
(const_string "SI")
;; Avoid partial register stalls when not using QImode arithmetic
(and (eq_attr "type" "imov")
- (and (eq_attr "alternative" "0,1,2")
+ (and (eq_attr "alternative" "0,1")
(and (ne (symbol_ref "TARGET_PARTIAL_REG_STALL")
(const_int 0))
(eq (symbol_ref "TARGET_QIMODE_MATH")