This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: FW: [PATCH] Target hook for disabling the delay slot filler.
- From: Simon Dardis <Simon dot Dardis at imgtec dot com>
- To: Jeff Law <law at redhat dot com>, Bernd Schmidt <bschmidt at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 Oct 2015 16:30:28 +0000
- Subject: RE: FW: [PATCH] Target hook for disabling the delay slot filler.
- Authentication-results: sourceware.org; auth=none
- References: <B83211783F7A334B926F0C0CA42E32CAF2F4D9 at hhmail02 dot hh dot imgtec dot org> <5616C76A dot 30402 at redhat dot com> <B83211783F7A334B926F0C0CA42E32CA0101CD7C at hhmail02 dot hh dot imgtec dot org> <562A6EE6 dot 9050302 at redhat dot com> <562A786B dot 2010908 at redhat dot com>
> 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