m68k.c (m68k_sched_variable_issue): Handle -fsched-pressure.
* config/m68k/m68k.c (m68k_sched_variable_issue): Handle -fsched-pressure. From-SVN: r172481
This commit is contained in:
parent
79002a5737
commit
3162fdf4d2
|
@ -1,3 +1,8 @@
|
||||||
|
2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||||
|
|
||||||
|
* config/m68k/m68k.c (m68k_sched_variable_issue): Handle
|
||||||
|
-fsched-pressure.
|
||||||
|
|
||||||
2011-04-15 Georg-Johann Lay <avr@gjlay.de>
|
2011-04-15 Georg-Johann Lay <avr@gjlay.de>
|
||||||
|
|
||||||
* config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup
|
* config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup
|
||||||
|
|
|
@ -6128,7 +6128,14 @@ m68k_sched_variable_issue (FILE *sched_dump ATTRIBUTE_UNUSED,
|
||||||
gcc_unreachable ();
|
gcc_unreachable ();
|
||||||
}
|
}
|
||||||
|
|
||||||
gcc_assert (insn_size <= sched_ib.filled);
|
if (insn_size > sched_ib.filled)
|
||||||
|
/* Scheduling for register pressure does not always take DFA into
|
||||||
|
account. Workaround instruction buffer not being filled enough. */
|
||||||
|
{
|
||||||
|
gcc_assert (sched_pressure_p);
|
||||||
|
insn_size = sched_ib.filled;
|
||||||
|
}
|
||||||
|
|
||||||
--can_issue_more;
|
--can_issue_more;
|
||||||
}
|
}
|
||||||
else if (GET_CODE (PATTERN (insn)) == ASM_INPUT
|
else if (GET_CODE (PATTERN (insn)) == ASM_INPUT
|
||||||
|
|
Loading…
Reference in New Issue