发明授权
- 专利标题: Cache memory, system, and method of storing data
- 专利标题(中): 缓存存储器,系统和存储数据的方法
-
申请号: US11898601申请日: 2007-09-13
-
公开(公告)号: US07574572B2公开(公告)日: 2009-08-11
- 发明人: Shirou Yoshioka
- 申请人: Shirou Yoshioka
- 申请人地址: JP Osaka
- 专利权人: Panasonic Corporation
- 当前专利权人: Panasonic Corporation
- 当前专利权人地址: JP Osaka
- 代理机构: Wenderoth, Lind & Ponack, L.L.P.
- 优先权: JP2004-161830 20040531
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
A cache memory according to the present invention is a cache memory that has a set associative scheme and includes: a plurality of ways, each way being made up of entries, each entry holding data and a tag; a first holding unit operable to hold, for each way, a priority attribute that indicates a type of data to be preferentially stored in that way; a second holding unit which is included at least in a first way among the ways, and is operable to hold, for each entry of the first way, a data attribute that indicates a type of data held in that entry; and a control unit operable to perform replace control on the entries by prioritizing a way whose priority attribute held by the first holding unit matches a data attribute outputted from a processor, wherein when a cache miss occurs and in the case where (i) valid data is held in an entry of the first way among entries that belong to a set selected based on an address outputted from the processor, (ii) all of the following attributes match: the data attribute of the entry; the data attribute outputted from the processor; and the priority attribute of the first way, and (iii) an entry of a way other than the first way does not hold valid data, the entry being one of the entries that belong to the selected set, the control unit is further operable to store data into the entry of the way other than the first way.
公开/授权文献
- US20080016299A1 Cache memory, system, and method of storing data 公开/授权日:2008-01-17
信息查询