1999 · 10 citations · 6 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureEmbedded SystemsHardware-software Co-designBranch PredictionHardware AccelerationBranch InstructionsDisplacementExecution Time AnalysisHardware Overhead AnalysisHardware Performance CountersLoop Handling
Many portable and embedded applications are characterized by spending a large fraction of execution time on small program loops. To improve performance, many embedded systems use special instructions to handle program loop executions. These special instructions, however, consume opcode space, which is valuable in the embedded computing environments. In this paper, we propose a hardware technique for folding out branches when executing these small loops. This technique does not require any special branch instructions. It is based on the detection and utilization of certain short backward branch instructions (sbb). A sbb is any PC-relative branch instruction with a limited backward branch distance. Once a sbb is detected, its displacement field is used by the hardware to identify the actual program loop size. It does so by loading this negative displacement field into a counter and incrementing the counter for each instruction sequentially executed. As the count approaches zero, the hard...
6
A study of branch prediction strategies
James E. Smith · 1998 · 794 citations · Full text
Branch Prediction Strategies and Branch Target Buffer Design
MIPS16 : High-density MIPS for the embedded market
K. D Kissell · 1997 · 160 citations
Compression of embedded system programs
Michael A. Kozuch, A. Wolfe · 2002 · 90 citations