Abstract
In embedded systems, code size and dynamic instruction count are important performance indicators of power consumption and execution time. However, the use of different compilers may result in large different performance values even if a target machine is the same. So, the compiler selection in the system development is very important. In this paper, we compare the performances of two popular compilers, GCC and LLVM in perspective of the code size and the dynamic instruction count for the EISC embedded processor. Our comparison shows that LLVM is good at optimizing calculation intensive benchmarks, and GCC performs register allocation and jump optimization better. Overall, the GCC compiler shows better performance in most EEMBC benchmarks about 18% on average in terms of dynamic instruction. Also, the compiled code size by GCC is smaller than that of LLVM by 4% on average.
Original language | English |
---|---|
Title of host publication | 13th International Conference on Electronics, Information, and Communication, ICEIC 2014 - Proceedings |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
ISBN (Electronic) | 9781479939428 |
DOIs | |
Publication status | Published - 2014 Sept 30 |
Event | 13th International Conference on Electronics, Information, and Communication, ICEIC 2014 - Kota Kinabalu, Malaysia Duration: 2014 Jan 15 → 2014 Jan 18 |
Publication series
Name | 13th International Conference on Electronics, Information, and Communication, ICEIC 2014 - Proceedings |
---|
Other
Other | 13th International Conference on Electronics, Information, and Communication, ICEIC 2014 |
---|---|
Country/Territory | Malaysia |
City | Kota Kinabalu |
Period | 14/1/15 → 14/1/18 |
Bibliographical note
Publisher Copyright:© 2014 IEEE.
ASJC Scopus subject areas
- Control and Systems Engineering
- Electrical and Electronic Engineering