Method, apparatus, and system for run-time checking of memory tags in a processor-based system

    公开(公告)号:US11586537B2

    公开(公告)日:2023-02-21

    申请号:US17393715

    申请日:2021-08-04

    IPC分类号: G06F12/00 G06F12/0802

    摘要: A data processing system includes a store datapath configured to perform tag checking in a store operation to a store address associated with a cache line in a memory. The store datapath includes a cache lookup circuit configured to pre-load a store cache line that is to be updated in the store operation, wherein the store cache line comprises the cache line in the memory to be updated in the store operation. The store datapath also includes a tag check circuit configured to compare a store address tag associated with the store address to a store operation tag associated with the store operation. The data processing system may include a load datapath configured to perform tag checking in a load operation from a load cache line in the memory by comparing a load address tag associated with the load address to a load operation tag associated with the load operation.

    JUST-IN-TIME SYNONYM HANDLING FOR A VIRTUALLY-TAGGED CACHE

    公开(公告)号:US20220004501A1

    公开(公告)日:2022-01-06

    申请号:US16919171

    申请日:2020-07-02

    IPC分类号: G06F12/1045

    摘要: An apparatus configured to provide just-in-time synonym handling, and related systems, methods, and computer-readable media, are disclosed. The apparatus includes a first cache comprising a translation lookaside buffer (TLB) and a hit/miss block. The first cache is configured to form a miss request associated with an access to the first cache and provide the miss request to a second cache. The miss request comprises a physical address provided by the TLB and miss information provided by the hit/miss block. The first cache is further configured to receive, from the second cache, previously-stored metadata associated with an entry in the second cache. The entry in the second cache is associated with the miss request. The first cache may further include a synonym detection block, which is configured to identify a cache line in the first cache for invalidation based on the previously-stored metadata received from the second cache