diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/i386.md | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cec05a7..f216089 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-01-19 Roger Sayle <roger@eyesopen.com> + + * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for + size, don't use the larger zero-extending loads. + 2004-01-19 Richard Henderson <rth@redhat.com> * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 72dff86..a502f8f 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1311,7 +1311,9 @@ } } [(set (attr "type") - (cond [(and (eq_attr "alternative" "0") + (cond [(ne (symbol_ref "optimize_size") (const_int 0)) + (const_string "imov") + (and (eq_attr "alternative" "0") (ior (eq (symbol_ref "TARGET_PARTIAL_REG_STALL") (const_int 0)) (eq (symbol_ref "TARGET_HIMODE_MATH") @@ -1486,7 +1488,9 @@ } } [(set (attr "type") - (cond [(and (eq_attr "alternative" "3") + (cond [(ne (symbol_ref "optimize_size") (const_int 0)) + (const_string "imov") + (and (eq_attr "alternative" "3") (ior (eq (symbol_ref "TARGET_PARTIAL_REG_STALL") (const_int 0)) (eq (symbol_ref "TARGET_QIMODE_MATH") |
