计算机应用 ›› 2014, Vol. 34 ›› Issue (9): 2730-2733.DOI: 10.11772/j.issn.1001-9081.2014.09.2725

• 行业与领域应用 • 上一篇    下一篇

降低寄存器软错误的静态寄存器重分配方法

闫国昌,何炎祥,李清安   

  1. 武汉大学 计算机学院,武汉 430000
  • 收稿日期:2014-02-28 修回日期:2014-04-17 出版日期:2014-09-01 发布日期:2014-09-30
  • 通讯作者: 闫国昌
  • 作者简介: 
    闫国昌(1989-),男,河南平顶山人,硕士研究生,主要研究方向:可信软件、编译器理论;
    何炎祥(1952-),男,湖北应城人,教授,博士,主要研究方向:分布并行处理、数据挖掘、移动计算、网格计算、自然语言处理、软件工程;
    李清安(1986-),男,湖南武冈人,博士,主要研究方向:可信软件、编译器理论、形式化理论。
  • 基金资助:

    国家自然科学基金资助项目

Static register reallocation approach for soft error reduction of register files

YAN Guochang,HE Yanxiang,LI Qingan   

  1. School of Computer, Wuhan University, Wuhan Hubei 430000, China
  • Received:2014-02-28 Revised:2014-04-17 Online:2014-09-01 Published:2014-09-30
  • Contact: YAN Guochang

摘要:

针对寄存器交换方法在降低寄存器软错误率过程中,未考虑寄存器分配过程对软错误所带来影响的问题,提出一种基于活跃变量对于软错误影响的静态寄存器重分配方法。首先,引入活跃变量权值来评估其对寄存器软错误的影响;然后,提出两条规则,在进行寄存器交换后对活跃变量进行寄存器的重新分配。该方法在更小粒度的活跃变量层次,进一步降低了寄存器软错误率。实验和分析表明,相对于寄存器交换方法,该策略能进一步降低30%的寄存器软错误率,增强了寄存器的可靠性。

关键词: 软错误, 编译优化, 寄存器分配, 寄存器易感因子, 部分寄存器保护

Abstract:

Because the Register Swapping (RS) method does not consider register allocation's effect in reducing soft error of register files, a static register reallocation approach was proposed concerning live variable's effect on soft error. First, this approach introduced live variable's weight to evaluate its impact on soft error of register files, then two rules were put forward to reallocate the live variable after the register swapping phase. This approach can reduce the soft error in the level of live variable further. The experiments and analysis show that this approach can reduce the soft error by 30% further than the RS method, which can enhance the register's reliability.

中图分类号: