Register Promotion by Sparse Partial Redundancy Elimination of Loads and Stores

21Citations
Citations of this article
31Readers
Mendeley users who have this article in their library.

Abstract

An algorithm for register promotion is presented based on the observation that the circumstances for promoting a memory location's value to register coincide with situations where the program exhibits partial redundancy between accesses to the memory location. The recent SSAPRE algorithm for eliminating partial redundancy using a sparse SSA representation forms the foundation for the present algorithm to eliminate redundancy among memory accesses, enabling us to achieve both computational and live range optimality in our register promotion results. We discuss how to effect speculative code motion in the SSAPRE framework. We present two different algorithms for performing speculative code motion: the conservative speculation algorithm used in the absence of profile data, and the the profile-driven speculation algorithm used when profile data are available. We define the static single use (SSU) form and develop the dual of the SSAPRE algorithm, called SSUPRE, to perform the partial redundancy elimination of stores. We provide measurement data on the SPECint95 benchmark suite to demonstrate the effectiveness of our register promotion approach in removing loads and stores. We also study the relative performance of the different speculative code motion strategies when applied to scalar loads and stores.

Cite

CITATION STYLE

APA

Lo, R., Chow, F., Kennedy, R., Liu, S. M., & Tu, P. (1998). Register Promotion by Sparse Partial Redundancy Elimination of Loads and Stores. SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 33(5), 26–37. https://doi.org/10.1145/277652.277659

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free