Runtime Association of Software Prefetch Control to Memory Access Instructions (Research Note)

  • Authors:
  • Chi-Hung Chi;Jun-Li Yuan

  • Affiliations:
  • -;-

  • Venue:
  • Euro-Par '02 Proceedings of the 8th International Euro-Par Conference on Parallel Processing
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we introduce a new concept of run-time collaboration between hardware and software prefetching mechanisms. An association bit is added to a memory access instruction (MAI) to indicate if any software PREFETCH instruction corresponding to the MAI has been inserted into the program. This bit is set by the compiler. Default hardware prefetching might be triggered for a MAI only if a "1" is detected in this bit. Simulation on SPEC95 shows that this association concept is very useful in HW/SW hybrid prefetching; its performance improvement in floating point applications ranges from a few percent to about 60%, with an average of 28.63%. This concept is important because its requirements for hardware and compiler support are very minimal. Furthermore, most existing architectures actually have unused encoding space that can be used to hold the association information.