Invention Grant
US08015362B2 Method and system for handling cache coherency for self-modifying code
有权
用于处理缓存一致性的自修改代码的方法和系统
- Patent Title: Method and system for handling cache coherency for self-modifying code
- Patent Title (中): 用于处理缓存一致性的自修改代码的方法和系统
-
Application No.: US12031923Application Date: 2008-02-15
-
Publication No.: US08015362B2Publication Date: 2011-09-06
- Inventor: Gregory W. Alexander , Christian Jacobi , Barry W. Krumm , Chung-Lung Kevin Shum , Aaron Tsai
- Applicant: Gregory W. Alexander , Christian Jacobi , Barry W. Krumm , Chung-Lung Kevin Shum , Aaron Tsai
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Cantor Colburn LLP
- Agent John Campbell
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
A method for handling cache coherency includes allocating a tag when a cache line is not exclusive in a data cache for a store operation, and sending the tag and an exclusive fetch for the line to coherency logic. An invalidation request is sent within a minimum amount of time to an I-cache, preferably only if it has fetched to the line and has not been invalidated since, which request includes an address to be invalidated, the tag, and an indicator specifying the line is for a PSC operation. The method further includes comparing the request address against stored addresses of prefetched instructions, and in response to a match, sending a match indicator and the tag to an LSU, within a maximum amount of time. The match indicator is timed, relative to exclusive data return, such that the LSU can discard prefetched instructions following execution of the store operation that stores to a line subject to an exclusive data return, and for which the match is indicated.
Public/Granted literature
- US20090210627A1 METHOD AND SYSTEM FOR HANDLING CACHE COHERENCY FOR SELF-MODIFYING CODE Public/Granted day:2009-08-20
Information query