Execution characteristics of C++ and C programs on embedded processor ARM7TDMI

Weixing Ji, Feng Shi, Baojun Qiao · 2006

Abstract:- This paper presents detailed behavioral measurements of several C++ and C programs on embedded processor ARM7TDMI. By comparing the instruction set usage of C++ and C benchmark programs, we can specify what is needed in an embedded object-oriented processor in order to provide a fully object-oriented system in both hardware and software. Various architectural data related to execution behavior and instruction set usage is collected using ADS 1.2 and profiling software. In addition, the benchmarks explored in this paper have both C++ and C versions. All the programs are computing intensive and used with high frequency in embedded software. Results show that the static size of C++ program is larger than C programs. Although, C++ programs have more call instructions and more memory operations, C++ programs possess smaller function size than C programs. Various suggestions on optimization to be applicable in both hardware and software are appended in our research paper.

Read the paper · More papers on PaperTik