发明名称 Eviction override for larx-reserved addresses
摘要 A method of controlling eviction of cache blocks to override eviction of a value which is reserved for a later operation. When a value is loaded into a cache of the processor and is reserved using a lwarx instruction, it sometimes is evicted from the cache due to the need to store other values in the cache set that the value is mapped to. The present invention provides a method of overriding eviction of reserved values by evicting a selected block of the cache which is a block other than the block containing the reserved value. The reserved value is indicated as being reserved by loading a memory address associated with the value into a reservation unit of the cache, and making a reservation flag in the reservation unit active. In two alternative implementations, the eviction mechanism selects a tentative block for eviction and then determines whether the tentative block is the same as the reserved block (and, if so, chooses a different block for the selected block), or preemptively prohibits the reserved block from being chosen as the selected block. The method of the present invention can be implemented with different types of cache replacement controls, e.g., a random mechanism or a least recently used mechanism.
申请公布号 US6212605(B1) 申请公布日期 2001.04.03
申请号 US19970829577 申请日期 1997.03.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ARIMILLI RAVI KUMAR;DODSON JOHN STEVEN;LEWIS JERRY DON;WILLIAMS DEREK EDWARD
分类号 G06F12/08;G06F12/12;G06F15/16;(IPC1-7):G06F12/00 主分类号 G06F12/08
代理机构 代理人
主权项
地址