Abstract
A strong need exists now for compilers of embedded systems to find effective ways of optimizing series of loop-nests. This is especially so for applications wherein the majority of the memory references occurs in the form of multi-dimensional arrays, indexed primarily with linear functions of iterators and parameterized constants. One major reason is the emergence of the new wireless standards, e.g. 802.11n, WiMAX, Bluetooth, HIPERMAN, 3GPP-LTE and WiBro, where the codes are predominantly of the type described above. These standards provide high bitrate and mobility but are also extremely power and performance hungry. For an even wider commercial applicability of these standards it is important to heavily optimize their energy consumption, so as to increase the mobile battery life time. We propose a novel solution to the multiple loop-nest optimization problem by using the concept of propagating constraints, and by splitting the problem into an access and layout locality-optimization phase, instead of adhering to the traditional split of temporal and spatial locality optimization. Experiments show that our technique leads to 47.5% reduction in external memory accesses over state-of-the-art.
Similar content being viewed by others
References
Allen R, Kennedy K (2001) Optimizing compilers for modern architectures. Morgan Kaufmann, San Mateo
Banerjee U (1988) Data dependencies. Kluwer, Dordrecht
Bastoul C, Cohen A, Girbal A, Sharma S, Temam O (2003) Putting polyhedral loop transformations to work. In: International workshop on languages and compilers for parallel computers. Lecture notes in computer science, vol 2958. Springer, Berlin, pp 209–225
Bik AJC (2005) The software vectorization book. Intel, Reading
Cierniak M, Li W (1995) Unifying data and control transformations for distributed shared memory machines. In: PLDI, pp 205–217
Cohen A, Sigler M, Girbal S, Temam O (2005) Facilitating the search for compositions of program transformations. In: International conference on supercomputing, pp 151–160
Cooklev T (2004) Wireless communication standards: a study of IEEE 802.11, 802.15 and 802.16. IEEE Std. Assoc.
IMEC (2006) Imec software defined radio concept compliant with 3gpp-lte. Design and reuse. http://www.us.design-reuse.com/news/news13680.html
Kandemir MT (2001) A compiler technique for improving whole-program locality. In: Proceedings of international conference on principles of programming language (POPL)
Kandemir MT (2001) Data relation vectors: a new abstraction for data optimizations. IEEE Trans Comput 50(8):798–810
Kandemir MT, Ramanujan J, Chowdhury A (1999) Improving cache locality by a combination of loop and data transformation. IEEE Trans Comput 48(2)
Absar JM, Li M, Raghavan P, Lambrechts A, Jayapala M, Catthoor F (2007) Multiple loop nest optimization: the quest for a scalable and near-optimal solution. ACM Trans Des Autom Embed Syst (under review)
Absar JM (2007) Locality optimization in a compiler for embedded systems. PhD thesis, K.U. Leuven, July 2007
Li W, Pingali K (1993) Access normalization: loop restructuring for numa computers. ACM Trans Comput Syst 11(4):353–375
McKinley KS, Carr S, Tseng C-W (1996) Improving data locality with loop transformations. ACM Trans Program Lang Syst 18(4):424–453
O’Boyle MFP, Knijnenburg PMW (1997) Non-singular data transformations: definition, validity and applications. In: International conference on supercomputing, pp 309–316
Poor V, Wang X (2004) Wireless communications system: advanced techniques for signal reception. Prentice Hall, New York
Pugh W, Wonnacott D (1998) Constraint-based array dependence analysis. ACM Trans Program Lang Syst 20(3):635–678
Wolf ME, Lam MS (1991) A data locality optimizing algorithm. In: PLDI ’91, pp 30–44
Wu C, Lian R, Zhang J, Ju R, Chan S, Liu L (2005) An overview of the open research compiler. In: Lecture notes in computer science, vol 3602. Springer, Berlin, pp 17–31
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Absar, J., Raghavan, P., Lambrechts, A. et al. Locality optimization in a compiler for wireless applications. Des Autom Embed Syst 13, 53–72 (2009). https://doi.org/10.1007/s10617-008-9019-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10617-008-9019-x