局部变量的存储赋值研究  被引量:1

Optimal Assignment of Local Variable

在线阅读下载全文

作  者:叶崴[1] 马杰[1] 侯朝焕[1] 

机构地区:[1]中国科学院声学研究所,北京100080

出  处:《微计算机应用》2008年第1期46-49,共4页Microcomputer Applications

基  金:国家973项目资助(G1999032900)

摘  要:DSP芯片通常提供了特定的内存地址生成单元(AGU)和包含地址运算的自增量/自减量的间接寻址模式。通过合理地安排变量在堆栈上的存储位置,尽可能多地使用自增量/自减量寻址方式来来访问局部变量,从而减少地址运算指令的数量,提高程序性能。本文详细地讨论了实现局部变量最优布局的算法,并且给出该算法在gcc上的实现。DSPs chip usually provide special Address Generation Unit and auto-increment/auto-decrement indirect addressing mode.By specially arranging the placement of variables in the stack and accessing the local variables by using as much auto-increment/auto-decrement addressing mode as we can,we can decrease the amount of address arithmatic instruction and promote the program performance.This paper disscusses the optimal algorithm of local variables' assignment in detail,and the implement in gcc.

关 键 词:自增量/自减量寻址 存储赋值 局部变量 

分 类 号:TP368.12[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象