Improving instruction cache behavior by reducing cache pollution

  • Authors:
  • Rajiv Gupta;Chi-Hung Chi

  • Affiliations:
  • Dept. of Computer Science, University of Pittsburgh, Pittsburgh, Pa.;Philips Laboratories, North American Philips Corporation, Briarcliff Manor, NY

  • Venue:
  • Proceedings of the 1990 ACM/IEEE conference on Supercomputing
  • Year:
  • 1990

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we describe compiler techniques for improving instruction cache performance. Through repositioning of the code in main memory, leaving memory locations unused, code duplication, and code propagation, the effectiveness of the cache can be improved due to reduced cache pollution and fewer cache misses. Results of experiments indicate that significant reduction in bus traffic results from the use of these techniques. Since memory bandwidth is a critical resource in shared memory multiprocessors, such systems can benefit from the techniques described. The notion of control dependence is used to decide when instructions belonging to different basic blocks can be allowed to share the same cache line without increasing cache pollution.