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
This commit is contained in:
Kazu Hirata 2003-07-05 18:58:40 +00:00 committed by Kazu Hirata
parent f5924ac1ec
commit 2c4a71b302
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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;
}