• DocumentCode
    1882970
  • Title

    SMARQ: Software-Managed Alias Register Queue for Dynamic Optimizations

  • Author

    Cheng Wang ; Youfeng Wu ; Hongbo Rong ; Hyunchul Park

  • fYear
    2012
  • fDate
    1-5 Dec. 2012
  • Firstpage
    425
  • Lastpage
    436
  • Abstract
    Traditional alias analysis is expensive and ineffective for dynamic optimizations. In practice, dynamic optimization systems perform memory optimizations speculatively, and rely on hardware, such as alias registers, to detect memory aliases at runtime. Existing hardware alias detection schemes either cannot scale up to a large number of alias registers or may introduce false positives. Order-based alias detection overcomes the limitations. However, it brings considerable challenges as how software can efficiently manage the alias register queue and impose restrictions on optimizations. In this paper, we present SMARQ, a Software-Managed Alias Register Queue, which manages the alias register queue efficiently and supports more aggressive speculative optimizations. We conducted experiments with a dynamic optimization system on a VLIW processor that has 64 alias registers. The experiments on a suite of SPECFP2000 benchmarks show that SMARQ improves the overall performance by 39% as compared to the case without hardware alias detection. By scaling up to a large number (from 16 to 64) of alias registers, SMARQ improves performance by 10%. Compared to a technique with false positives (similar to Itanium), SMARQ improves performance by 13%. To reduce the chance of alias register overflow, the novel alias register allocation algorithm in SMARQ reduces the alias register working set by 74% as compared to a straightforward alias register allocation based on program order.
  • Keywords
    dynamic programming; electronic engineering computing; multiprocessing systems; optimising compilers; performance evaluation; queueing theory; SMARQ; SPECFP2000 benchmarks; VLIW processor; alias register allocation algorithm; alias register overflow; alias register queue management; dynamic optimization systems; performance improvement; program order; software-managed alias register queue; speculative optimization; alias register; dynamic optimization; hardware alias detection; speculation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Microarchitecture (MICRO), 2012 45th Annual IEEE/ACM International Symposium on
  • Conference_Location
    Vancouver, BC
  • ISSN
    1072-4451
  • Print_ISBN
    978-1-4673-4819-5
  • Type

    conf

  • DOI
    10.1109/MICRO.2012.46
  • Filename
    6493639