首页>
外国专利>
Computer system and method of allocating cache memories in a multilevel cache hierarchy utilizing a locality hint within an instruction
Computer system and method of allocating cache memories in a multilevel cache hierarchy utilizing a locality hint within an instruction
展开▼
机译:利用指令内的局部性提示在多级缓存层次结构中分配缓存的计算机系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A computer system and method in which allocation of a cache memory is managed by utilizing a locality hint value included within an instruction. When a processor accesses a memory for transfer of data between the processor and the memory, that access can be allocated or not allocated in the cache memory. The locality hint included within the instruction controls if the cache allocation is to be made. When a plurality of cache memories are present, they are arranged into a cache hierarchy and a locality value is assigned to each level of the cache hierarchy where allocation control is desired. The locality hint may be used to identify a lowest level where management of cache avocation is desired and cache memory is allocated at that level and any higher level(s). The locality hint value is based on spatial and/or temporal locality for the data associated with the access. Data is recognized at each cache hierarchy level depending on the attributes associated with the data at a particular level. If the locality hint identifies a particular access for data as temporal or non-temporal with respect to a particular cache level, the particular access may be determined to be temporal or non-temporal with respect to the higher and lower cache levels.
展开▼