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

Sun 3/4专用协处理器PLC系统中Common Lisp编译器的代码优化措施
引用本文:罗成,胡立荣.Sun 3/4专用协处理器PLC系统中Common Lisp编译器的代码优化措施[J].北京航空航天大学学报,1992(3).
作者姓名:罗成  胡立荣
作者单位:北京航空航天大学计算机科学与工程系 (罗成),北京航空航天大学计算机科学与工程系(胡立荣)
摘    要:在简单介绍Sun3/4专用协处理器PLC系统及Common Lisp编译器后,着重讨论了Common Lisp编译器中的代码优化措施,包括优化无用代码、优化程序结构、优化转移指令、优化函数调用环境保存及恢复指令、优化寄存器分配、优化尾递归函数调用等。实例编译结果和模拟运行结果表明:与不经优化指令相比,经过优化后的指令代码长度平均减少25%,运行速度平均提高20%,为提高PLC系统的整体性能提供了一守的保证。

关 键 词:编译器  指令代码  代码优化  函数  函数调用  代码生成

THE CODE OPTIMIZING TECHNIQUES OF COMMON LISP COMPILER IN PLC COPROCESSOR SYSTEM BASED ON SUN3/4 WORKSTATIONS
Luo Cheng Hu Lirong.THE CODE OPTIMIZING TECHNIQUES OF COMMON LISP COMPILER IN PLC COPROCESSOR SYSTEM BASED ON SUN3/4 WORKSTATIONS[J].Journal of Beijing University of Aeronautics and Astronautics,1992(3).
Authors:Luo Cheng Hu Lirong
Institution:Dept.of Computer Sci. and Eng.
Abstract:After briefly introducing the PLC coprocessor system based on the Sun3/4 workstations along with the Common Lisp compiler,this paper discusses some code optimizing techniques in the Common Lisp compiler,including optimizing garbage code,optimizing program structure,optimizing jump instruction code,optimizing environment saving and restoring instructions of function call,optimizing register allocation and optimizing tail recursion functions.The result of compiling and simulating illustrates that the average length of optimized code decreases about 25 percent and the running rate increases about 20 percent against unopti-mized code.The highly optimized code gives some assurance for the properties of the whole PLC system.
Keywords:compiler  instruction code  code optimizing  function  function call  code generation  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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