Pipeline processor, with return address stack storing only pre-return processed addresses for judging validity and correction of unprocessed address
Abstract
A data processor in accordance with the present invention makes it possible to perform pre-branch processing with respect to a return address in the initial stage of pipeline processing also on a subroutine return instruction, and therefore by providing a stack memory (PC stack) dedicated to a program counter (PC) for storing only return addresses of the subroutine return instruction, in executing a subroutine call instruction in an execution stage of a pipeline processing mechanism, the return address from the subroutine is pushed to the PC stack, and the pre-branch processing is performed to the address popped from the PC stack in decoding the subroutine return instruction in an instruction decoding stage.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 55.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processor, wherein instructions are processed in a multi-stage pipeline of at least an instruction fetch stage followed by an instruction execution stage, the instructions including a subroutine call instruction and a subroutine return instruction, comprising: a first stack memory for storing data comprising stack variables and return addresses, wherein said data are stored in said first stack memory by pushing said data onto to a top of said first stack memory and said data are retrieved from said first stack memory by popping said data from said top of said first stack memory, wherein
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 55 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- "Branch Prediction Strategies and Branch Target Buffer Design," Lee et al, Computer, Jan. 1984.
- Branch Prediction Strategies and Branch Target Buffer Design, Lee et al, Computer, Jan. 1984.
- Greenfield et al; Using Microprocessors and Microcomputers The 6800 Family; 1981 pp. 6 7; 124 128.
- Greenfield et al; Using Microprocessors and Microcomputers The 6800 Family; 1981 pp. 6-7; 124-128.
- MC68020 32 Bit Microprocessor User s Manual; 1985; p. 1 9/1 10 (FIG. 1.5).