Add machine_dependent_reorg2

Geoff Keating geoffk@geoffk.org
Sat Jun 28 20:28:00 GMT 2003


> Date: Fri, 27 Jun 2003 20:44:58 -0700
> From: Richard Henderson <rth@redhat.com>

> On Fri, Jun 27, 2003 at 04:53:54PM -0700, Geoff Keating wrote:
> > > > I haven't followed this discussion closely, but what was the original
> > > > motivation behind wanting more machine dependent hooks?
> > > 
> > > Wanting to add the required nops to the mips insn stream after dbr.
> > 
> > Can't dbr be taught to do this in a more generic way?  Adding nops
> > after delayed branches doesn't sound like a radical new idea...
> 
> This has nothing to do with delayed branches.
> 
> We want to add nops psuedo-randomly in the insn stream such that
> pairs of insns that are able to be dual-issued are aligned at 8
> byte boundaries.

OK, how about teaching the scheduler to do this?

On G5, we have a similar problem, we want to issue NOPs so that
instructions get in the appropriate place in dispatch groups.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list