摘要
介绍了嵌入式系统处理器的资源分配原理及其存在问题,为了提高嵌入式系统性能,提出了基于寄存器的编译器优化技术,在寄存器和Cache之间增加一级起特殊缓冲作用的寄存器,用于寄存器的快速恢复和保留。根据优先权公式,把执行频率高的变量尽量存放在缓冲寄存器中,减少了变量存入内存的次数,有效节省了内存资源,提高了嵌入式系统处理器工作效率。采用参考比较的方法,在Md32仿真器上,选用典型算法进行测试,实验证明此优化算法有效。
Introduced the embedded system processor resource distribution principle and the occered question, this paper proposes the compiler optimization technology based on register for enhance the processor performance. Adds a level register between the register and Cache to get up cushioning effect, Uses in the register restoring fast and retention. According to the priority formula, runing the frequency high variable to deposit as far as possible in the cushion register, reduced the times of variable to store the memory. It has saved memory resources and enhanced thr working efficiency of Embedded System processor working efficiency. Uses the reference comparison the method, on the Md32 simulator, selects the typical algorithm to test , the experiment proved this optimized algorithm is effective.
出处
《东华理工学院学报》
2007年第1期78-80,共3页
Journal of East China Institute of Technology
基金
东华理工学院硕博基金(DHS0515)