diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-01-19 15:15:56 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-01-19 15:15:56 +0000 |
commit | 68f48f395a07bfbde55f7403d2c58db66c6dbf2c (patch) | |
tree | 53d92192044536211b0a56cd4928b85f4b7d526b | |
parent | 7aed2ccc63977ca5573fa333eb201758c2483936 (diff) | |
download | gcc-68f48f395a07bfbde55f7403d2c58db66c6dbf2c.zip gcc-68f48f395a07bfbde55f7403d2c58db66c6dbf2c.tar.gz gcc-68f48f395a07bfbde55f7403d2c58db66c6dbf2c.tar.bz2 |
i386.md (*movhi_1, *movqi_1): When optimizing for size, don't use the larger zero-extending loads.
* config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
size, don't use the larger zero-extending loads.
From-SVN: r76152
-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") |