Simultaneously setting prefetch address and fetch address pipelined stages upon branch
Abstract
A pipelined CPU includes a pre-fetch (PF) stage for performing branch prediction, and an instruction fetch (IF) stage for fetching instructions that are to be later processed by an execution (EX) stage. The PF stage has a PF address (PFA) register for storing the address of an instruction being processed by the PF stage, and the IF stage has an IF address (IFA) register for storing the address of an instruction to be fetched for later execution. The CPU also includes address register control (ARC) circuitry for setting the contents of the PFA and the IFA. The ARC accepts branch-prediction results from the PF stage to determine the subsequent contents of the PFA and the IFA. If the PF stage predicts a branch, then the ARC sets the next address of the PFA to be sequentially after a predicted branch address, and simultaneously sets the next address of the IFA to be the predicted branch address.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 36.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A pipelined central processing unit (CPU) comprising: a pre-fetch (PF) stage for performing branch prediction, the PF stage comprising a PF address (PFA) register for storing the address of an instruction being processed by the PF stage; an instruction fetch (IF) stage for fetching instructions that are to be later processed by an execution (EX) stage, the IF stage comprising an IF address (IFA) register for storing the address of an instruction to be fetched for later execution, and accepting a branch prediction result from the PF stage; and address register control (ARC) circuitry for settin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗