|
Message
From: #KUGAN VIVEKANANDARAJAH#<kugan@p...>
Date: Wed Dec 10 07:24:13 CET 2003
Subject: [openrisc] Branch Target Buffer Hardware Implementation
>I know that a BTB entry may consist of: branch tag, prediction >information, the branch target address, and instructions at the branch >target. But, how about call and return instructions?
Call/return is predicted with a return address stack.
>Do they have also to be in the BTB ? If so, how do the fetch unit make >difference between a call, return or branch instructions.
AFIK, for this implementation, you need to decode the instruction type first. Kugan
|
 |