介绍了“龙腾R2”微处理器精确中断的实现方法,详细讨论了备份缓冲区精确中断优化方法和中断指令缓冲区中断响应机制。在“龙腾R2”微处理器上的实验结果表明,采用备份缓冲区和中断指令缓冲区的精确中断方法在不影响微处理器速度的情况下,中断响应速度是原来的3.5倍,中断返回速度是原来的2.6倍。
The microprocessor "Longtium R2" is compatible with PowerPC architecture. The implementation of precise interrupt on "Longtium R2" was introduced. An optimized method of precise interrupt based backup-buffer and mechanism of interrupt response based interrupt instruction buffer were detailed discussed. The experimental results on microprocessor "Longtium R2" indicate the method with backup-buffer and interrupt instruction buffer can improve the speed of interrupt response by 3 times and the speed of return from interrupts by 2.3 times in case of not reducing the frequency of processor.