ACM Home Page
Please provide us with feedback. Feedback
Optimization of array subscript range checks
Full text PdfPdf (620 KB)
Source ACM Letters on Programming Languages and Systems (LOPLAS) archive
Volume 1 ,  Issue 2  (June 1992) table of contents
Pages: 109 - 118  
Year of Publication: 1992
ISSN:1057-4514
Author
Jonathan M. Asuru  Univ. of Tennessee, Chattanooga
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 19,   Citation Count: 9
Additional Information:

abstract   references   cited by   index terms   review  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/151333.151392
What is a DOI?

ABSTRACT

Compile-time elimination of subscript range checks is performed by some optimizing compilers to reduce the overhead associated with manipulating array data structures. Elimination and propagation, the two methods of subscript range check optimization, are less effective for eliminating global redundancies especially in while-loop structures with nonconstant loop guards. This paper describes a subscript range check optimization procedure that can eliminate more range checks than current methods. Two transformations called inner-loop guard elimination and conservative expression substitution are introduced to enhance propagation of range checks in nested while-loops and to define a partial order on related range checks. Global elimination is improved by considering range checks performed before control reaches a statement and after control leaves a statement. A unique feature of this method is the simplification of the available range-check analysis system for global elimination.



CITED BY  9


REVIEW

"Zoran D. Budimac : Reviewer"

Asuru describes a subscript range check optimization procedure in the presence of loops. The procedure deals with loop invariant range checks and range checks whose subscript operands are induction variables. Since both kinds of ra  more...