Expansion of a stacked register file using shadow registers
A technology of register files and registers, which is applied in the direction of instruments, machine execution devices, calculations, etc., can solve the problems of high cost, low utilization rate of high-cost hardware, and increase of physical register files 1, etc.
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2009-01-28
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present invention relates generally to the field of processors, and in particular to using shadow registers to extend the effective size of a stack register file. Background technique
[0002] RISC processors are characterized by a relatively small instruction set, where each instruction performs a single instruction, such as an arithmetic, logical, or load / store operation. Arithmetic and logic instructions take their operands from one or more general purpose registers (GPRs) and write their results to the GPRs. GPRs are structured registers. That is, a GPR includes discrete memory locations that are clearly identified in the instruction set structure and are directly addressable by instructions.
[0003] GPRs are often implemented in hardware such as an array of high-speed multi-port registers, each of which has a word width (eg, 32 or 64 bits) defined by the instruction set. This physical register array is called the physical register file (Ph...
Examples
Embodiment Construction
[0021] figure 2A functional block diagram of processor 10 is depicted. The processor 10 executes the instructions in the instruction execution pipeline 12 according to the control logic 14 . Pipeline 12 may be a superscalar design, with multiple parallel pipelines, such as 12a and 12b. Each pipeline 12a, 12b includes various registers or latches 16 organized into stages, and one or more arithmetic logic units (ALUs) 18 . Pipelines 12a, 12b fetch instructions from an instruction cache (I-cache or I$) 20 where memory addressing and permissions are managed by an instruction-side translation lookaside buffer (ITLB) 22 .
[0022] Data is accessed from a data cache (D-cache or D$) 24 where memory addressing and permissions are managed by a main translation lookaside buffer (TLB) 26 . In various embodiments, ITLB 22 may include a replica of a portion of TLB 26 . Alternatively, ITLB 22 and TLB 26 may be integrated. Similarly, in various embodiments of processor 10, I-cache 20 and...