发明名称 METHOD FOR OPTIMIZING REFERENCE TO CACHE MEMORY
摘要 PURPOSE: A cache memory management method is provided to make a cache empty if a processor fails to make an initial access to a cache memory and to previously eliminate a cause to write back data to a main memory when an execution of a specific function is finished so that it can prevent meaningless garbage data from being transmitted between the main memory and the cache memory. CONSTITUTION: The method comprises several steps. A processor reads an instruction(S1). In a case that the read instruction is for starting a new function, namely needs allocating a stack(S2), initial access management bits corresponding to an allocated stack area are initialized(S3). In a case that the read instruction is for restoring the stack(S4), dirty bits within a cache memory, corresponding to the restored stack, are set to zeros(S5). It is determined whether the read instruction is for writing an address within the stack(S6). In a case that the read instruction is for writing an address within the stack, there exists no block for the address within the cache memory and there is no case that the address is referred to, the instruction is not copied to the main memory and the initial access bits for the block are set to ones.
申请公布号 KR20040005275(A) 申请公布日期 2004.01.16
申请号 KR20020039772 申请日期 2002.07.09
申请人 SAMSUNG ELECTRONICS CO., LTD. 发明人 LEE, YU CHEOL
分类号 G06F12/08;(IPC1-7):G06F12/08 主分类号 G06F12/08
代理机构 代理人
主权项
地址