diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-07-05 18:58:40 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-07-05 18:58:40 +0000 |
commit | 2c4a71b3022df466a63528e2628d596cd40123f0 (patch) | |
tree | 1b36aee44394839e23ce49f878eadf63bc4c0d79 | |
parent | f5924ac1ecc7def8262994d4a90fdcbc3df40f9d (diff) | |
download | gcc-2c4a71b3022df466a63528e2628d596cd40123f0.zip gcc-2c4a71b3022df466a63528e2628d596cd40123f0.tar.gz gcc-2c4a71b3022df466a63528e2628d596cd40123f0.tar.bz2 |
h8300.c (compute_mov_length): Correct the length of loading CONST0_RTX (SFmode).
* config/h8300/h8300.c (compute_mov_length): Correct the
length of loading CONST0_RTX (SFmode).
From-SVN: r68981
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33ea3ab..62702d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-03 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.c (compute_mov_length): Correct the + length of loading CONST0_RTX (SFmode). + 2003-07-05 Nathan Sidwell <nathan@codesourcery.com> * toplev.c (output_clean_symbol_name): Remove. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index da0cd3f..0a794da 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -1893,6 +1893,9 @@ compute_mov_length (rtx *operands) if (REG_P (src)) return 4; + if (CONST_DOUBLE_OK_FOR_LETTER_P (src, 'G')) + return 4; + return 8; } @@ -2012,6 +2015,7 @@ compute_mov_length (rtx *operands) if (CONST_DOUBLE_OK_FOR_LETTER_P (src, 'G')) return 2; + return 6; } |