From d49b398c60415afa70aa8a95dbf706c79109a24d Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 30 Dec 2004 14:16:13 +0100 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc') 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 + + PR target/18019 + * i386.md (movqi_1): Fix -Os instruction choice. + 2004-12-30 Steven Bosscher * 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") -- cgit v1.1