Compile time instruction cache optimizations [chapter]

Abraham Mendlson, Shlomit S. Pinter, Ruth Shtokhamer
1994 Lecture Notes in Computer Science  
This paper presents a new approach for improving performance of instruction cache based systems. The idea is to prevent cache misses caused when different segments of code, which are executed in the same loop, are mapped onto the same cache area. The new approach uses static information only and does not rely on any special hardware mechanisms such as support of non-cachable addresses. The technique can be applied at compile time or as part of object modules optimization. The technique is based
more » ... on replication of code together with algorithms for code placement. We introduce the notion of abstract caches and present simulation results of the new technique. The results show that in certain cases, the number of cache misses is reduced by two orders of magnitude.
doi:10.1007/3-540-57877-3_27 fatcat:liwcwwhzd5a6vnrm7ey4t2icje