发明名称 Ermittlung der Latenzzeit eines Rechnerspeichers
摘要 A computer system includes a data structure that maintains availability status for registers (30) of a processor (28) of the computer system, wherein the availability status indicates whether an instruction attempting to read a particular register will stall. The computer system also includes instruction decode and execution circuitry that is capable of decoding and executing one or more instructions that alter a path of program execution based on the availability status of one or more of the registers (30). In one embodiment, a latency probe instruction retrieves the availability status of a register from the data structure and stores the availability status in a register. Thereafter, a conditional branch instruction determines the path of program execution based on the availability status stored in the register. In another embodiment, a conditional branch instruction queries the data structure directly to determine the availability status of a register, and determines the execution path based on the availability status. By exposing the latency of memory operations to programs, a compiler can schedule alternate threads of execution based on varying latencies. By scheduling alternate threads of execution based on the availability of the contents of a register, stalling is minimized. The system can also be used by a compiler to optimize code. <IMAGE>
申请公布号 DE69931288(T2) 申请公布日期 2006.12.07
申请号 DE1999631288T 申请日期 1999.01.22
申请人 HEWLETT-PACKARD DEVELOPMENT CO. 发明人 MORRIS, DALE C.;HUNT, DOUGLAS B.
分类号 G06F9/38;G06F12/08;G06F9/30;G06F9/308;G06F9/32;G06F9/45;G06F9/46 主分类号 G06F9/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利