Implementation Method of Zero-overhead Loop in MCU

XUE Chao-fan,ZHANG Sheng-bing
DOI: https://doi.org/10.3969/j.issn.1000-3428.2012.09.075
2012-01-01
Abstract:In order to extend the application field of chip and improve the DSP ability of chip,this paper proposes a design of supporting zero-overhead loop for the Micro Controller Unit(MCU).Based on the character of frequent loops in the Digital Signal Processing(DSP) program,a special hardware module for handling the loops is designed to eliminate the stall of pipeline caused by the loop.By analyzing the original structure of MCU,especially instruction fetch unit,the different treatments are taken from the other branch instructions for the loop instructions.The structure of the MCU is modified as little as possible to support zero-overhead loop.Performance analysis results show that the MCU changed reduces the loop's execution cycles.
What problem does this paper attempt to address?