Commit 2c4a71b3 by Kazu Hirata Committed by Kazu Hirata

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
parent f5924ac1
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> 2003-07-05 Nathan Sidwell <nathan@codesourcery.com>
* toplev.c (output_clean_symbol_name): Remove. * toplev.c (output_clean_symbol_name): Remove.
......
...@@ -1893,6 +1893,9 @@ compute_mov_length (rtx *operands) ...@@ -1893,6 +1893,9 @@ compute_mov_length (rtx *operands)
if (REG_P (src)) if (REG_P (src))
return 4; return 4;
if (CONST_DOUBLE_OK_FOR_LETTER_P (src, 'G'))
return 4;
return 8; return 8;
} }
...@@ -2012,6 +2015,7 @@ compute_mov_length (rtx *operands) ...@@ -2012,6 +2015,7 @@ compute_mov_length (rtx *operands)
if (CONST_DOUBLE_OK_FOR_LETTER_P (src, 'G')) if (CONST_DOUBLE_OK_FOR_LETTER_P (src, 'G'))
return 2; return 2;
return 6; return 6;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment