The VLIW architecture can be exploited to greatly enhance instruction level parallelism, thus it can provide computation power and energy efficiency advantages, which satisfies the requirements of future sensor-based systems. However, as VLIW codes are mainly compiled statically, the performance of a VLIW processor is dominated by the behavior of its compiler. In this paper, we present an advanced compiler designed for a VLIW DSP named Magnolia, which will be used in sensor-based systems. This compiler is based on the Open64 compiler. We have implemented several advanced optimization techniques in the compiler, and fulfilled the O3 level optimization. Benchmarks from the DSPstone test suite are used to verify the compiler. Results show that the code generated by our compiler can make the performance of Magnolia match that of the current state-of-the-art DSP processors.
References
[1]
Very Long Instruction Word. Available online: http://en.wikipedia.org/wiki/VLIW (accessed on 30 March 2012).
[2]
Fisher, J.A. Very Long Instruction Word Architectures and the ELI-512. Proceedings of the 10th Annual International Symposium on Computer Architecture, Stockholm, Sweden, 13–17 June 1983; pp. 140–150.
[3]
Schafer, B.C.; Lee, Y.; Kim, T. Temperature-Aware Compilation for VLIWProcessors. Proceedings of 13th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA 2007), Daegu, Korea, 21–24 August 2007; pp. 426–431.
[4]
Open64 Overview. Available online: http://www.open64.net/ (accessed on 30 March 2012).
[5]
Open64. Available online: http://en.wikipedia.org/wiki/Open64 (accessed on 30 March 2012).
[6]
Chapman, B.; Hernandez, O.; Huang, L.; Weng, T.H.; Liu, Z.; Adhianto, L.; Wen, Y. Dragon: An Open64-Based Interactive Program Analysis Tool for Large Applications. Proceedings of the Fourth International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT 2003), Chengdu, China, 27–29 August 2003; pp. 792–796.
[7]
Compiler. Available online: http://en.wikipedia.org/wiki/compiler (accessed on 30 March 2012).
[8]
Zivojnovic, V.; Velarde, J.M.; Schlager, C.; Meyr, H. DSPstone: A DSP-Oriented Benchmarking Methodology. Proceedings of the 5th International Conference on Signal Processing Applications and Technology, Dallas, TX, USA, 18–21 October 1994; pp. 715–720.
[9]
The Gem5 Simulator System. A Modular Platform for Computer System Architecture Research. Available online: http://gem5.org/Main_Page (accessed on 30 March 2012).