mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 06:54:29 +08:00
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:
parent
1d4894358c
commit
a524985e06
@ -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
|
||||
|
@ -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])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user