Title :
Worst-case execution time analysis for dynamic branch predictors
Author :
Bate, Iain ; Reutemann, Ralf
Author_Institution :
Dept. of Comput. Sci., York Univ., UK
fDate :
30 June-2 July 2004
Abstract :
Branch prediction mechanisms are becoming commonplace within modern microprocessors. For developers of real-time control systems, the mechanisms present predictability problems. The reasons are they increase the difficulty in analysing software for its worst-case execution time without introducing unmanageable pessimism and they increase the variability of the software´s execution times. In this paper, we improve upon existing branch prediction analysis by taking into account the semantic context of the branches in the source code in order to classify them as either being easy-to-predict or hard-to-predict. Based on this classification we provide a static analysis approach for bimodal and global-history branch prediction schemes. The analysis is applied to a previously published example with the benefit that a more detailed explanation of its results is obtained.
Keywords :
program compilers; program diagnostics; real-time systems; dynamic branch predictor; microprocessor; real-time control system; software analysis; software execution times; source code; worst-case execution time analysis; Analytical models; Computer science; Control systems; History; Microprocessors; Performance analysis; Pipeline processing; Processor scheduling; Real time systems; Timing;
Conference_Titel :
Real-Time Systems, 2004. ECRTS 2004. Proceedings. 16th Euromicro Conference on
Print_ISBN :
0-7695-2176-2
DOI :
10.1109/EMRTS.2004.1311023