This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ideas for modeling pipeline with bypass registers?


<tm_gccmail@mail.kloo.net> writes:

> On 28 Jul 2003, Greg McGary wrote:
> 
> > I'm working on a GCC port to a pipelined machine that has 1 insn
> > latency between ALU operation and numbered-register writeback
> > (i.e.,  insn-0: ALU op
> >         insn-1: ...
> >         insn-2: ALU op result appears in destination register
> > 
> > In order to make ALU ops available with no latency, there's a special
> > "bypass" register that can be used before the register-file writeback.
> > This bypass value is available for only one cycle, after which it is
> > clobbered by the next ALU op.
> 
> I'm assuming this bypass register is an architecturally visible register?

Yes, it is visible.  It can be named as a source operand in most every
context that the ordinary register-file members can.

Greg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]