Search NASA⌕ Search

NASA NTRS · 19910015475

The effect of code expanding optimizations on instruction cache design

Abstract

It is shown that code expanding optimizations have strong and non-intuitive implications on instruction cache design. Three types of code expanding optimizations are studied: instruction placement, function inline expansion, and superscalar optimizations. Overall, instruction placement reduces the miss ratio of small caches. Function inline expansion improves the performance for small cache sizes, but degrades the performance of medium caches. Superscalar optimizations increases the cache size required for a given miss ratio. On the other hand, they also increase the sequentiality of instruction access so that a simple load-forward scheme effectively cancels the negative effects. Overall, it is shown that with load forwarding, the three types of code expanding optimizations jointly improve the performance of small caches and have little effect on large caches.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Chen, William Y., Chang, Pohua P., Conte, Thomas M., Hwu, Wen-Mei W.. 1991-05-01. The effect of code expanding optimizations on instruction cache design. https://ntrs.nasa.gov/citations/19910015475

Cite the original work for its findings. Save a collection to share your selection of sources.