* Rationale behind Alpha chip's branch prediction logic
@ 1993-02-09 17:18 Donald A. Smith
1993-02-09 20:07 ` Dick Sites
0 siblings, 1 reply; 2+ messages in thread
From: Donald A. Smith @ 1993-02-09 17:18 UTC (permalink / 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1993-02-09 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-09 17:18 Rationale behind Alpha chip's branch prediction logic Donald A. Smith
1993-02-09 20:07 ` Dick Sites
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox