Publication | Closed Access
Improving semi-static branch prediction by code replication
41
Citations
12
References
1994
Year
Unknown Venue
Software MaintenanceEngineeringComputer ArchitectureSoftware EngineeringSource Code AnalysisSpeculative ExecutionSoftware AnalysisReliability EngineeringSystems EngineeringParallel ComputingSuperscalar ProcessorsInstruction-level ParallelismDynamic CompilationPerformance PredictionCompiler SupportCode GenerationComputer EngineeringComputer ScienceCode ReplicationOptimizing CompilerStatic Program AnalysisSoftware DesignProgram AnalysisSoftware TestingParallel Programming
Speculative execution on superscalar processors demands substantially better branch prediction than what has been previously available. In this paper we present code replication techniques that improve the accuracy of semi-static branch prediction to a level comparable to dynamic branch prediction schemes. Our technique uses profiling to collect information about the correlation between different branches and about the correlation between the subsequent outcomes of a single branch. Using this information and code replication the outcome of branches is represented in the program state. Our experiments have shown that the misprediction rate can almost be halved while the code size is increased by one third.
| Year | Citations | |
|---|---|---|
Page 1
Page 1