首页>
外国专利>
SYSTEM AND METHOD FOR PRE-FETCHING FOR POINTER LINKED DATA STRUCTURES
SYSTEM AND METHOD FOR PRE-FETCHING FOR POINTER LINKED DATA STRUCTURES
展开▼
机译:指针链接数据结构的预取系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A system and method are provided for improved handling of data in a memory system (305). In one embodiment, the memory system (305) has at least one cache (335) with several cache-lines (360) capable of caching data therein. In the method, a cache address space is provided for each cache (335) and special instructions are generated and inserted into the program to directly control caching of data in at least one of the cache-lines (360). Special instructions received in the cache memory system (305) are then executed to cache the data. The special instructions can be generated by a compiler during compiling of the program. Where the cache memory system (305) includes a set-associative-cache having a number of sets each with several cache-lines (360), the method can further include the step of determining which cache-line in a set to flush to main-memory (315) before caching new data to the set.
展开▼