检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王浩[1,2]
机构地区:[1]中国科学院长春光学精密机械与物理研究所,长春130033 [2]中国科学院航空光学成像与测量重点实验室,长春130033
出 处:《国外电子测量技术》2015年第5期61-65,共5页Foreign Electronic Measurement Technology
摘 要:为了使生成的汇编代码具有更高的执行效率,设计并实现了一种基于GCC的TMS320C67xx汇编指令级的代码优化算法。首先,将汇编指令按照功能划分为不同的指令类型,并将汇编指令链接到链表中。然后,针对每一个寄存器建立对该寄存器的读写操作指令链表。最后,通过对指令类型的判断和对寄存器读写操作指令链表的分析,完成了冗余代码的删除和指令合并。实验结果表明,经过代码优化后,TMS320C67xx汇编代码的执行效率提高了20%左右,较中间代码级的优化算法执行效率提高了15%左右。In order to generate higher efficiency assembler code ,design and implement a TMS320C67xx assembler in‐struction level optimization algorithm based on GCC .Firstly ,assembler instructions are divided into different types ac‐cording to the function of instructions .Then ,link assembler instructions to the list .Secondly ,establish a read and write operation instruction list for each register .Finally ,through the judgment of instruction types and the analysis of read and write instructions list for each register ,complete the deletion of redundant code and the merging of instructions .The ex‐perimental results show that the execution efficiency of TMS320C67xx assembler code increased by about 20% after code optimization .Compared with the intermediate code optimization ,execution efficiency increased by about 15% .
分 类 号:TN602[电子电信—电路与系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28