Achieving high instruction cache performance with an optimizing compiler
- 1 April 1989
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGARCH Computer Architecture News
- Vol. 17 (3) , 242-251
- https://doi.org/10.1145/74926.74953
Abstract
Increasing the execution power requires a high instruction issue bandwidth, and decreasing instruction encoding and applying some code improving techniques cause code expansion. Therefore, the instruction memory hierarchy performance has become an important factor of the system performance. An instruction placement algorithm has been implemented in the IMPACT-I (Illinois Microarchitecture Project using Advanced Compiler Technology - Stage I) C compiler to maximize the sequential and spatial localities, and to minimize mapping conflicts. This approach achieves low cache miss ratios and low memory traffic ratios for small, fast instruction caches with little hardware overhead. For ten realistic UNIX * programs, we report low miss ratios (average 0.5%) and low memory traffic ratios (average 8%) for a 2048-byte, direct-mapped instruction cache using 64-byte blocks. This result compares favorably with the fully associative cache results reported by other researchers. We also present the effect of cache size, block size, block sectoring, and partial loading on the cache performance. The code performance with instruction placement optimization is shown to be stable across architectures with different instruction encoding density.Keywords
This publication has 22 references indexed in Scilit:
- Program optimization for instruction cachesPublished by Association for Computing Machinery (ACM) ,1989
- Strategies for cache and local memory management by global program transformationJournal of Parallel and Distributed Computing, 1988
- Performance tradeoffs in cache designACM SIGARCH Computer Architecture News, 1988
- Compile-time program restructuring in multiprogrammed virtual memory systemsIEEE Transactions on Software Engineering, 1988
- Cache MemoriesACM Computing Surveys, 1982
- Register allocation & spilling via graph coloringACM SIGPLAN Notices, 1982
- The 801 minicomputerPublished by Association for Computing Machinery (ACM) ,1982
- MIPS: A VLSI Processor ArchitecturePublished by Springer Nature ,1981
- The CRAY-1 computer systemCommunications of the ACM, 1978
- Improving locality by critical working setsCommunications of the ACM, 1974