Performance comparison of GCC and LLVM on the EISC processor
Authors:
- 1 January 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-2
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.Keywords
This publication has 2 references indexed in Scilit:
- A Benchmark Characterization of the EEMBC Benchmark SuiteIEEE Micro, 2009
- AE32000B: a Fully Synthesizable 32-Bit Embedded Microprocessor CoreETRI Journal, 2003