Title :
Link-time path-sensitive memory redundancy elimination
Author :
Fernández, Manel ; Espasa, Roger
Author_Institution :
Comput. Archit. Dept., Univ. Politecnica de Catalunya, Barcelona, Spain
Abstract :
Optimizations performed at link-time or directly applied to final program executables have received increased attention in recent years. We discuss the discovery and elimination of redundant memory operations in the context of a link-time optimizer, an optimization that we call memory redundancy elimination (MRE). Previous research showed that existing MRE techniques are mainly based on path-insensitive information, which causes many MRE opportunities to be lost. We present a new technique for eliminating redundant loads in a path-sensitive fashion, by using a novel alias analysis algorithm that is able to expose path-sensitive memory redundancies. We also extend our previous work by removing both redundant and dead stores. Our experiments show that around 75% of load and 10% of store references in a program can be considered redundant, because they are accessing memory locations that have been referenced less than 256 memory instructions away. By combining our previous optimizations for eliminating load redundancies with the new techniques developed, we show that around 18% of the loads and 8% of the stores can be detected and eliminated, which translates into a 10% reduction in execution time.
Keywords :
optimisation; redundancy; storage management; MRE; alias analysis algorithm; link-time optimizer; link-time path-sensitive memory redundancy elimination; memory instruction; memory location; optimization; path-insensitive information; Algorithm design and analysis; Computer architecture; Electronic mail; Force feedback; Instruments; Performance analysis; Production; Program processors; Registers; Upper bound;
Conference_Titel :
Software, IEE Proceedings-
Print_ISBN :
0-7695-2053-7
DOI :
10.1109/HPCA.2004.10009