bfin.c (gen_one_bundle): Don't create new nops when optimizing for size.

* config/bfin/bfin.c (gen_one_bundle): Don't create new nops when
	optimizing for size.

From-SVN: r139999
This commit is contained in:
Bernd Schmidt 2008-09-04 19:18:26 +00:00 committed by Bernd Schmidt
parent 1d4894358c
commit a524985e06
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-04 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.c (gen_one_bundle): Don't create new nops when
optimizing for size.
2008-09-04 Richard Sandiford <rdsandiford@googlemail.com>
* df-scan.c (df_get_entry_block_def_set): Add STACK_POINTER_REGNUM

View File

@ -4457,6 +4457,11 @@ gen_one_bundle (rtx slot[3])
{
gcc_assert (slot[1] != NULL_RTX);
/* Don't add extra NOPs if optimizing for size. */
if (optimize_size
&& (slot[0] == NULL_RTX || slot[2] == NULL_RTX))
return false;
/* Verify that we really can do the multi-issue. */
if (slot[0])
{