发明名称 Mechanism for freeing registers on processors that perform dynamic out-of-order execution of instructions using renaming registers
摘要 A system and a method is described for freeing renaming registers that have been allocated to architectural registers prior to another instruction redefining the architectural register. Renaming registers are used by a processor to dynamically execute instructions out-of-order. The present invention may be employed by any single or multi-threaded processor that executes instructions out-of-order. A mechanism is described for freeing renaming registers that consists of a set of instructions, used by a compiler, to indicate to the processor when it can free the physical (renaming) register that is allocated to a particular architectural register. This mechanism permits the renaming register to be reassigned or reallocated to store another value as soon as the renaming register is no longer needed for allocation to the architectural register. There are at least three ways to enable the processor with an instruction that identifies the renaming register to be freed from allocation: (1) a user may explicitly provide the instruction to the processor that refers to a particular renaming register; (2) an operating system may provide the instruction when a thread is idle that refers to a set of registers associated with the thread; and (3) a compiler may include the instruction with the plurality of instructions presented to the processor. There are at least five embodiments of the instruction provided to the processor for freeing renaming registers allocated to architectural registers: (1) Free Register Bit; (2) Free Register; (3) Free Mask; (4) Free Opcode; and (5) Free Opcode/Mask. The Free Register Bit instruction provides the largest speedup for an out-of-order processor and the Free Register instruction provides the smallest speedup.
申请公布号 US6314511(B2) 申请公布日期 2001.11.06
申请号 US19980054100 申请日期 1998.04.02
申请人 UNIVERSITY OF WASHINGTON 发明人 LEVY HENRY M.;EGGERS SUSAN J.;LO JACK;TULLSEN DEAN M.
分类号 G06F9/30;G06F9/38;(IPC1-7):G06F9/38 主分类号 G06F9/30
代理机构 代理人
主权项
地址