Compiler-directed selection of dynamic memory layouts


KANDEMIR M., Kadayif I.

9th International Symposium on Hardware/Software Codesign (CODES 2001), COPENHAGEN, Danimarka, 25 - 27 Nisan 2001, ss.219-224 identifier identifier

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası:
  • Doi Numarası: 10.1145/371636.371733
  • Basıldığı Şehir: COPENHAGEN
  • Basıldığı Ülke: Danimarka
  • Sayfa Sayıları: ss.219-224
  • Çanakkale Onsekiz Mart Üniversitesi Adresli: Hayır

Özet

Compiler technology is becoming a key component in the design of embedded systems, mostly due to increasing participation of software in the design process. Meeting system-level objectives usually requires flexible and retargetable compiler optimizations that can be ported across a wide variety of architectures. In particular, source-level compiler optimizations aiming at increasing locality of data accesses are expected to improve the quality of the generated code. Previous compiler-based approaches to improving locality have mainly focused on determining optimal memory layouts that remain in effect for the entire execution of an application. For large embedded codes, however, such static layouts may be insufficient to obtain acceptable performance. The selection of memory layouts that dynamically change over the course of a program's execution adds another dimension to data locality optimization. This paper presents a technique that can be used to automatically determine which layouts are most beneficial over specific regions of a program while taking into account the added overhead of dynamic (runtime) layout changes. The results obtained using two benchmark codes show that such a dynamic approach brings significant benefits over a static state-of-the-art technique.