> On 10/23/2015 11:31 AM, Bernd Schmidt wrote:
> > On 10/23/2015 04:57 PM, Simon Dardis wrote:
> >
> >> Patch below. Target hook renamed to
> >> TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P.
> >>
> >> Tested on mips-img-elf, no new regressions.
> >
> > As far as I'm concerned this is ok, and IIUC Jeff was on board too.
> > This is assuming the test included a bootstrap, otherwise please do
> > that. You should also include a ChangeLog in future submissions.
> Just to be explicit, I'm on board.
>
> Jeff
I've done bootstrap and regression. No new failures.
gcc/
* target.def (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P): New hook.
* doc/tm.texi.in (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P): Document.
* doc/tm.texi: Regenerated.
* reorg.c (dbr_schedule): Use new hook.
* config/mips/mips.c (mips_no_speculation_in_delay_slots_p): New.
testsuite/
* gcc.target/mips/ds-schedule-1.c: New.
* gcc.target/mips/ds-schedule-2.c: New.
Committed as r229383.
Thanks,
Simon