• DocumentCode
    3141823
  • Title

    Global Load Instruction Aggregation Based on Code Motion

  • Author

    Sumikawa, Yasunobu ; Takimoto, Munehiro

  • Author_Institution
    Dept. of Inf. Sci., Tokyo Univ. of Sci., Chiba, Japan
  • fYear
    2012
  • fDate
    17-20 Dec. 2012
  • Firstpage
    149
  • Lastpage
    156
  • Abstract
    Most modern processors have some much faster cache memories than a main memory, and therefore, it is important to effectively utilize it for the efficient execution. The cache memories work well through enhancing temporal or spatial localities in the program. Therefore, the cache efficiency can be improved by making accesses to the same array or structure continuous. We propose the new cache optimization technique improving cache efficiency based on global code motion. Our technique moves a load instruction immediately after other preceding load instructions accessing the same array or structure, and then delays it as later as possible without changing the access order. The two step code motions enable not only globally improving the cache efficiency in the entire program with any control structure, but also suppressing register pressure. We have implemented our technique in a real compiler, and evaluated it on SPEC benchmarks. The experimental results show that our technique can decrease cache misses about 94% in the best case.
  • Keywords
    cache storage; parallel programming; program compilers; software performance evaluation; SPEC benchmarks; cache efficiency; cache memories; cache optimization technique; global code motion; global load instruction aggregation; register pressure; spatial localities; step code motions; temporal localities; Aggregates; Arrays; Cache memory; Delay; Optimization; Program processors; Registers; cache memory; code motion; data flow analysis; partial redundancy elimination; register pressure;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures, Algorithms and Programming (PAAP), 2012 Fifth International Symposium on
  • Conference_Location
    Taipei
  • ISSN
    2168-3034
  • Print_ISBN
    978-1-4673-4566-8
  • Type

    conf

  • DOI
    10.1109/PAAP.2012.30
  • Filename
    6424750