首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式系统中基于寄存器的编译器优化技术
引用本文:艾菊梅,陆钢,王强. 嵌入式系统中基于寄存器的编译器优化技术[J]. 华东地质学院学报, 2007, 30(1): 78-80
作者姓名:艾菊梅  陆钢  王强
作者单位:东华理工学院 江西抚州344000
基金项目:东华理工学院硕博基金(DHS0515)
摘    要:介绍了嵌入式系统处理器的资源分配原理及其存在问题,为了提高嵌入式系统性能,提出了基于寄存器的编译器优化技术,在寄存器和Cache之间增加一级起特殊缓冲作用的寄存器,用于寄存器的快速恢复和保留。根据优先权公式,把执行频率高的变量尽量存放在缓冲寄存器中,减少了变量存入内存的次数,有效节省了内存资源,提高了嵌入式系统处理器工作效率。采用参考比较的方法,在Md32仿真器上,选用典型算法进行测试,实验证明此优化算法有效。

关 键 词:嵌入式系统  缓冲寄存器  编译器优化  仿真器
文章编号:1000-2251(2007)01-078-03
修稿时间:2006-11-06

A Compiler Optimization Technology with Embedded System Based on Register
AI Ju-mei,LU Gang,WANG Qiang. A Compiler Optimization Technology with Embedded System Based on Register[J]. Journal of East China Institute of Technology, 2007, 30(1): 78-80
Authors:AI Ju-mei  LU Gang  WANG Qiang
Affiliation:Faculty of Information Engineering, East China Institute of Technology, Fuzhou, JX 344000, China
Abstract: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.
Keywords:embedded system  cache register  compiler optimization  simulator
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号