Download PDF

ACM Transactions on Design Automation of Electronic Systems

Publication date: 2007-09-01
Volume: 12 12
ISSN: 1084-4309
Publisher: Association for Computing Machinery

Author:

Vanbroekhoven, Peter
Janssens, Gerda ; Bruynooghe, Maurice ; Catthoor, Francky

Keywords:

Science & Technology, Technology, Computer Science, Hardware & Architecture, Computer Science, Software Engineering, Computer Science, design, performance, data flow analysis, single assignment, arrays, parallelization, reaching definitions, VERIFICATION, 0803 Computer Software, 1006 Computer Hardware, Design Practice & Management, 4009 Electronics, sensors and digital hardware, 4606 Distributed computing and systems software, 4612 Software engineering

Abstract:

This paper presents a novel method to construct a dynamic single assignment (DSA) form of array intensive, pointer free C programs. A program in DSA form does not perform any destructive update of scalars and array elements; that is, each element is written at most once. As DSA makes the dependencies between variable references explicit, it facilitates complex analyses and optimizations of programs. Existing transformations into DSA perform a complex data flow analysis with exponential analysis time, and they work only for a limited class of input programs. Our method removes irregularities from the data flow by adding copy assignments to the program, so that it can use simple data flow analyses. The presented DSA transformation scales very well with growing program sizes and overcomes a number of important limitations of existing methods. We have implemented the method and it is being used in the context of memory optimization and verification of those optimizations. Experiments show that in practice, the method scales well indeed, and that added copy operations can be removed in case they are unwanted. © 2007 ACM.