Bit-Width Analysis for General Applications


Autoria(s): Ding, Yang; Wong, Weng Fai
Data(s)

13/12/2004

13/12/2004

01/01/2005

Resumo

It has been widely known that a significant part of the bits are useless or even unused during the program execution. Bit-width analysis targets at finding the minimum bits needed for each variable in the program, which ensures the execution correctness and resources saving. In this paper, we proposed a static analysis method for bit-widths in general applications, which approximates conservatively at compile time and is independent of runtime conditions. While most related work focus on integer applications, our method is also tailored and applicable to floating point variables, which could be extended to transform floating point number into fixed point numbers together with precision analysis. We used more precise representations for data value ranges of both scalar and array variables. Element level analysis is carried out for arrays. We also suggested an alternative for the standard fixed-point iterations in bi-directional range analysis. These techniques are implemented on the Trimaran compiler structure and tested on a set of benchmarks to show the results.

Singapore-MIT Alliance (SMA)

Formato

226802 bytes

application/pdf

Identificador

http://hdl.handle.net/1721.1/7412

Idioma(s)

en

Relação

Computer Science (CS);

Palavras-Chave #Bit-width analysis #compiler optimization #flow analysis #range analysis
Tipo

Article