A New Algorithm for Scalar Register Promotion Based on SSA Form

5Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

We present a new register promotion algorithm based on Static Single Assignment (SSA) form. Register promotion is aimed at promoting program names from memory locations to registers. Our algorithm is profile-driven and is based on the scope of intervals. In cases where a complete promotion is not possible because of the presence of function calls or pointer references, the proposed algorithm is capable of eliminating loads and stores on frequently executed paths by placing loads and stores on less frequently executed paths. We also describe an efficient method to incrementally update SSA form when new definitions are cloned from an existing name during register promotion. On SPECInt95 benchmarks, our algorithm removes about ∼12 % of memory operations which access scalar variables.

Cite

CITATION STYLE

APA

Sastry, A. V. S., & Ju, R. D. C. (1998). A New Algorithm for Scalar Register Promotion Based on SSA Form. SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 33(5), 15–25. https://doi.org/10.1145/277652.277656

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