Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: dsmith@chaos.cs.brandeis.edu (Donald A. Smith)
Subject: Rationale behind Alpha chip's branch prediction logic
Date: 9 Feb 93 17:18:58 GMT	[thread overview]
Message-ID: <1993Feb9.171858.10058@news.cs.brandeis.edu> (raw)

Can someone familiar with the Alpha instruction set please explain to me the
precise rationale behind the design of Alpha's branch prediction mechanism? 

The Alpha chip maintains a stack (cache) of subroutine return addresses.
Several of the jump instructions contain a "hint" field that can be
used to tell the prefetch logic that the jump is actually a procedure
return.  Likewise, the displacement field can contain the lower 16 or so
bits of the likely target of the jump.  Yet the target is always contained 
in a register specified in the instruction.  So why during prefetch doesn't
the instruction decoder just look in the specified register?   Is it because
the contents of the register might change? Does the benefit come from avoiding
the cost of accessing the register?

   Don  (dsmith@chaos.cs.brandeis.edu)


             reply	other threads:[~1993-02-09 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-09 17:18 Donald A. Smith [this message]
1993-02-09 20:07 ` Rationale behind Alpha chip's branch prediction logic Dick Sites
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox