International Symposium on Code Generation and Optimization, 2004. CGO 2004.最新文献

筛选
英文 中文
Extending path profiling across loop backedges and procedure boundaries 跨循环后台和过程边界扩展路径分析
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281679
S. Tallam, X. Zhang, Rajiv Gupta
{"title":"Extending path profiling across loop backedges and procedure boundaries","authors":"S. Tallam, X. Zhang, Rajiv Gupta","doi":"10.1109/CGO.2004.1281679","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281679","url":null,"abstract":"Since their introduction, path profiles have been used to guide the application of aggressive code optimizations and performing instruction scheduling. However, for optimization and scheduling, it is often desirable to obtain frequency counts of paths that extend across loop iterations and cross procedure boundaries. These longer paths, referred to as interesting paths, account for over 75% of the flow in a subset of SPEC benchmarks. Although the frequency counts of interesting paths can be estimated from path profiles, the degree of imprecision of these estimates is very high. We extend Ball Larus (BL) paths to create slightly longer overlapping paths and develop an instrumentation algorithm to collect their frequencies. While these paths are slightly longer than BL paths, they enable very precise estimation of frequencies of potentially much longer interesting paths. Our experiments show that the average cost of collecting frequencies of overlapping paths is 86.8%, which is 4.2 times that of BL paths. However, while the average imprecision in estimated total flow of interesting paths derived from BL path frequencies ranges from -38 % to +138 %, the average imprecision inflow estimates derived from overlapping path frequencies ranges only from -4% to +8%.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"376 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133911985","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 33
Targeted path profiling: lower overhead path profiling for staged dynamic optimization systems 目标路径分析:低开销的路径分析阶段动态优化系统
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281678
Rahul Joshi, Michael D. Bond, C. Zilles
{"title":"Targeted path profiling: lower overhead path profiling for staged dynamic optimization systems","authors":"Rahul Joshi, Michael D. Bond, C. Zilles","doi":"10.1109/CGO.2004.1281678","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281678","url":null,"abstract":"We present a technique for reducing the overhead of collecting path profiles in the context of a dynamic optimizer. The key idea to our approach, called targeted path profiling (TPP), is to use an edge profile to simplify the collection of a path profile. This notion of profile-guided profiling is a natural fit for dynamic optimizers, which typically optimize the code in a series of stages. TPP is an extension to the Ball-Lams efficient path profiling algorithm. Its increased efficiency comes from two sources: (i) reducing the number of potential paths by not enumerating paths with cold edges, allowing array accesses to be substituted for more expensive hash table lookups, and (ii) not instrumenting regions where paths can be unambiguously derived from an edge profile. Our results suggest that on average the overhead of profile collection can be reduced by half (SPEC95) to almost two-thirds (SPEC2000) relative to the Ball-Larus algorithm with minimal impact on the information collected.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129450784","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 56
SYZYGY - a framework for scalable cross-module IPO SYZYGY -可扩展的跨模块IPO框架
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281664
Sungdo Moon, X. Li, R. Hundt, Dhruva R. Chakrabarti, Luis A. Lozano, U. Srinivasan, Shin-Ming Liu
{"title":"SYZYGY - a framework for scalable cross-module IPO","authors":"Sungdo Moon, X. Li, R. Hundt, Dhruva R. Chakrabarti, Luis A. Lozano, U. Srinivasan, Shin-Ming Liu","doi":"10.1109/CGO.2004.1281664","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281664","url":null,"abstract":"Performing analysis across module boundaries for an entire program is important for exploiting several runtime performance opportunities. However, due to scalability problems in existing full-program analysis frameworks, such performance opportunities are only realized by paying tremendous compile-time costs. Alternative solutions, such as partial compilations or user assertions, are complicated or unsafe and as a result, not many commercial applications are compiled today with cross-module optimizations. We present SYZYGY, a practical framework for performing efficient, scalable, interprocedural optimizations. The framework is implemented in the HP-UX Itanium/spl reg/ compilers and we have successfully compiled many very large applications consisting of millions of lines of code. We achieved performance improvements of up to 40% over optimization level two and compilation time improvements in the order of 100% and more compared to a previous approach.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129035778","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 18
VHC: quickly building an optimizer for complex embedded architectures VHC:快速构建复杂嵌入式架构的优化器
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281663
Michael Dupré, Nathalie Drach-Temam, O. Temam
{"title":"VHC: quickly building an optimizer for complex embedded architectures","authors":"Michael Dupré, Nathalie Drach-Temam, O. Temam","doi":"10.1109/CGO.2004.1281663","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281663","url":null,"abstract":"To meet the high demand for powerful embedded processors, VLIW architectures are increasingly complex (e.g., multiple clusters), and moreover, they now run increasingly sophisticated control-intensive applications. As a result, developing architecture-specific compiler optimizations is becoming both increasingly critical and complex, while time-to-market constraints remain very tight. We present a novel program optimization approach, called the virtual hardware compiler (VHC), that can perform as well as static compiler optimizations, but which requires far less compiler development effort, even for complex VLIW architectures and complex target applications. The principle is to augment the target processor simulator with superscalar-like features, observe how the target program is dynamically optimized during execution, and deduce an optimized binary for the static VLIW architecture. Developing an architecture-specific optimizer then amounts to modifying the processor simulator which is very fast compared to adapting static compiler optimizations to an architecture. We also show that a VHC-optimized binary trained on a number of data sets performs as well as a statically-optimized binary on other test data sets. The only drawback of the approach is a largely increased compilation time, which is often acceptable for embedded applications and devices. Using the Texas Instruments C62 VLIW processor and the associated compiler, we experimentally show that this approach performs as well as static compiler optimizations for a much lower research and development effort. Using a single-core C60 and a dual-core clustered C62 processors, we also show that the same approach can be used for efficiently retargeting binary programs within a family of processors.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130965900","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Exploring code cache eviction granularities in dynamic optimization systems 探索动态优化系统中的代码缓存清除粒度
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281666
K. Hazelwood, James E. Smith
{"title":"Exploring code cache eviction granularities in dynamic optimization systems","authors":"K. Hazelwood, James E. Smith","doi":"10.1109/CGO.2004.1281666","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281666","url":null,"abstract":"Dynamic optimization systems store optimized or translated code in a software-managed code cache in order to maximize reuse of transformed code. Code caches store superblocks that are not fixed in size, contain links to other superblocks, and carry a high replacement overhead. These additional constraints reduce the effectiveness of conventional hardware-based cache management policies. In this paper, we explore code cache management policies that evict large blocks of code from the code cache, thus avoiding the bookkeeping overhead of managing single cache blocks. Through a combined simulation and analytical study of cache management overheads, we show that employing a medium-grained FIFO eviction policy results in an effective balance of cache management complexity and cache miss rates. Under high cache pressure the choice of medium granularity translates into a significant reduction in overall execution time versus both coarse and fine granularities.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121845958","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 40
Optimizing translation out of SSA using renaming constraints 使用重命名约束优化SSA的翻译
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281680
F. Rastello, F. D. Ferrière, C. Guillon
{"title":"Optimizing translation out of SSA using renaming constraints","authors":"F. Rastello, F. D. Ferrière, C. Guillon","doi":"10.1109/CGO.2004.1281680","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281680","url":null,"abstract":"Static Single Assignment form is an intermediate representation that uses /spl Phi/ instructions to merge values at each confluent point of the control flow graph. /spl Phi/ instructions are not machine instructions and must be renamed back to move instructions when translating out of SSA form. Without a coalescing algorithm, the out of SSA translation generates many move instructions. Leung and George [A. L. Leung et al., (1999)] use a SSA form for programs represented as native machine instructions, including the use of machine dedicated registers. For this purpose, they handle renaming constraints thanks to a pinning mechanism. Pinning /spl Phi/ arguments and their corresponding definition to a common resource is also a very attractive technique for coalescing variables. Extending this idea, we propose a method to reduce the /spl Phi/-related copies during the out of SSA translation, thanks to a pinning-based coalescing algorithm that is aware of renaming constraints. We implemented our algorithm in the STMicroelectronics Linear Assembly Optimizer [B. Dupont de Dinechin et al., (2000)]. Our experiments show interesting results when comparing to the existing approaches of Leung and George [A. L. Leung et al., (1999)], Sreedhar et al. [V. Sreedhar et al., (1999)], and Appel and George for register coalescing [L. George et al., (1996)].","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"5 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117002834","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 23
Specialized dynamic optimizations for high-performance energy-efficient microarchitecture 专门针对高性能节能微架构的动态优化
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281670
Y. Almog, Roni Rosner, N. Schwartz, Ari Schmorak
{"title":"Specialized dynamic optimizations for high-performance energy-efficient microarchitecture","authors":"Y. Almog, Roni Rosner, N. Schwartz, Ari Schmorak","doi":"10.1109/CGO.2004.1281670","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281670","url":null,"abstract":"We study several major characteristics of dynamic optimization within the PARROT power-aware, trace-cache-based microarchitectural framework. We investigate the benefit of providing optimizations which although tightly coupled with the microarchitecture in substance are decoupled in time. The tight coupling in substance provides the potential for tailoring optimizations for microarchitecture in a manner impossible or impractical not only for traditional static compilers but even for a JIT. We show that the contribution of common, generic optimizations to processor performance and energy efficiency may be more than doubled by creating a more intimate correlation between hardware specifics and the optimizer. In particular, dynamic optimizations can profit greatly from hardware supporting fused and SIMDified operations. At the same time, the decoupling in time allows optimizations to be arbitrarily aggressive without significant performance loss. We demonstrate that requiring up to 512 repetitions before a trace is optimized sacrifices almost no performance or efficiency as compared with lower thresholds. These results confirm the feasibility of energy efficient hardware implementation of an aggressive optimizer.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"64 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122034146","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 22
Physical experimentation with prefetching helper threads on Intel's hyper-threaded processors 在Intel的超线程处理器上进行预取助手线程的物理实验
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281661
Dongkeun Kim, Shih-Wei Liao, P. Wang, J. Cuvillo, Xinmin Tian, Xiang Zou, Hong Wang, D. Yeung, M. Girkar, John Paul Shen
{"title":"Physical experimentation with prefetching helper threads on Intel's hyper-threaded processors","authors":"Dongkeun Kim, Shih-Wei Liao, P. Wang, J. Cuvillo, Xinmin Tian, Xiang Zou, Hong Wang, D. Yeung, M. Girkar, John Paul Shen","doi":"10.1109/CGO.2004.1281661","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281661","url":null,"abstract":"Pre-execution techniques have received much attention as an effective way of prefetching cache blocks to tolerate the ever-increasing memory latency. A number of pre-execution techniques based on hardware, compiler, or both have been proposed and studied extensively by researchers. They report promising results on simulators that model a simultaneous multithreading (SMT) processor. We apply the helper threading idea on a real multithreaded machine, i.e., Intel Pentium 4 processor with hyper-threading technology, and show that indeed it can provide wall-clock speedup on real silicon. To achieve further performance improvements via helper threads, we investigate three helper threading scenarios that are driven by automated compiler infrastructure, and identify several key challenges and opportunities for novel hardware and software optimizations. Our study shows a program behavior changes dynamically during execution. In addition, the organizations of certain critical hardware structures in the hyper-threaded processors are either shared or partitioned in the multithreading mode and thus, the tradeoffs regarding resource contention can be intricate. Therefore, it is essential to judiciously invoke helper threads by adapting to the dynamic program behavior so that we can alleviate potential performance degradation due to resource contention. Moreover, since adapting to the dynamic behavior requires frequent thread synchronization, having light-weight thread synchronization mechanisms is important.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"8 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129483567","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 107
Custom data layout for memory parallelism 自定义数据布局以实现内存并行性
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.1109/CGO.2004.1281682
Byoungro So, Mary W. Hall, H. Ziegler
{"title":"Custom data layout for memory parallelism","authors":"Byoungro So, Mary W. Hall, H. Ziegler","doi":"10.1109/CGO.2004.1281682","DOIUrl":"https://doi.org/10.1109/CGO.2004.1281682","url":null,"abstract":"We describe a generalized approach to deriving a custom data layout in multiple memory banks for array-based computations, to facilitate high-bandwidth parallel memory accesses in modern architectures, where multiple memory banks can simultaneously feed one or more functional units. We do not use a fixed data layout, but rather select application-specific layouts according to access patterns in the code. A unique feature of this approach is its flexibility in the presence of code reordering transformations, such as the loop nest transformations commonly applied to array-based computations. We have implemented this algorithm in the DEFACTO system, a design environment for automatically mapping C programs to hardware implementations for FPGA-based systems. We present experimental results for five multimedia kernels that demonstrate the benefits of this approach. Our results show that custom data layout yields results as good as, or better than, naive or fixed cyclic layouts, and is significantly better for certain access patterns and in the presence of code reordering transformations. When used in conjunction with unrolling loops in a nest to expose instruction-level parallelism, we observe greater than a 75% reduction in the number of memory access cycles and speedups ranging from 3.96 to 46.7 for 8 memories, as compared to using a single memory with no unrolling.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"41 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123736664","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 44
Using dynamic binary translation to fuse dependent instructions 使用动态二进制翻译融合相关指令
International Symposium on Code Generation and Optimization, 2004. CGO 2004. Pub Date : 2004-03-20 DOI: 10.5555/977395.977670
Shiliang Hu, James E. Smith
{"title":"Using dynamic binary translation to fuse dependent instructions","authors":"Shiliang Hu, James E. Smith","doi":"10.5555/977395.977670","DOIUrl":"https://doi.org/10.5555/977395.977670","url":null,"abstract":"Instruction scheduling hardware can be simplified and easily pipelined if pairs of dependent instructions are fused so they share a single instruction scheduling slot. We study an implementation of the x86 ISA that dynamically translates x86 code to an underlying ISA that supports instruction fusing. A microarchitecture that is codesigned with the fused instruction set completes the implementation. We focus on the dynamic binary translator for such a codesigned x86 virtual machine. The dynamic binary translator first cracks x86 instructions belonging to hot superblocks into RISC-style microoperations, and then uses heuristics to fuse together pairs of dependent microoperations. Experimental results with SPEC2000 integer benchmarks demonstrate that: (1) the fused ISA with dynamic binary translation reduces the number of scheduling decisions by about 30% versus a conventional implementation that uses hardware cracking into RISC microoperations; (2) an instruction scheduling slot needs only hold two source register fields even though it may hold two instructions; (3) translations generated in the proposed ISA consume about 30% less storage than a corresponding fixed-length RISC-style ISA.","PeriodicalId":444347,"journal":{"name":"International Symposium on Code Generation and Optimization, 2004. CGO 2004.","volume":"123 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2004-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134605895","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 46
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书