发明名称 Programmable prefetching of instructions for a processor executing a non-procedual program
摘要 A programmable prefetch mechanism is presented for prefetching instructions for a processor executing a program, and in particular a non-procedural program such as object-oriented code. The prefetch mechanism includes prefetching instructions from memory which are sequential instructions from where the processor is currently executing in a sequence of instructions of the program, and when the prefetching encounters a new update prefetch stream (UPS) instruction, the prefetching includes executing the UPS instruction and subsequent thereto, branching to a new memory address for prefetching of at least one non-sequential instruction from memory for execution by the processor. The UPS instruction can be inserted into the program at compile time and when executed causes the loading of a prefetch buffer in the prefetch mechanism which in one embodiment includes a set associative array of x,y address pairs. When an incremented prefetch address is matched to an x address of the array, the prefetching branches to the new memory address y paired with the matching x address in the prefetch buffer. In this manner, cache misses associated with unconditional branches to non-sequential instructions are avoided.
申请公布号 GB0104328(D0) 申请公布日期 2001.04.11
申请号 GB20010004328 申请日期 2001.02.22
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人
分类号 G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址
您可能感兴趣的专利