基于申威1621函数库的断流水指令替换方法  

Pipeline Interrupt Instruction Replacing Method for Mathematic Library Based on SW1621 Processor

在线阅读下载全文

作  者:吴凡 王磊 WU Fan;WANG Lei(School of Computer Science,Zhongyuan University of Technology,Zhengzhou 450007,China;Research Institute of Frontier Information Technology,Zhongyuan University of Technology,Zhengzhou 450007,China)

机构地区:[1]中原工学院计算机学院,郑州450007 [2]中原工学院前沿信息技术研究院,郑州450007

出  处:《计算机系统应用》2021年第7期165-171,共7页Computer Systems & Applications

摘  要:基础数学函数库是高性能计算机中最基础、最核心的底层软件之一,它的性能直接决定了上层计算程序的运行效率.现版本的国产申威基础数学库中部分函数使用rfpcr和wfpcr指令导致流水线中断,降低了函数的性能.针对这个问题,本文结合函数的功能和指令特性,提出指令段功能等效替换方法.实验表明,运用该方法,使得函数性能平均提高27.83%.A basic mathematic library is one of the most basic and core underlying software in high-performance computers.Its performance directly determines the efficiency of the upper computing program.The use of rfpcr and wfpcr instructions in some functions of the current domestic SW basic mathematic library leads to the interruption of the pipeline,which reduces the performance of the functions.To solve this problem,we propose an equivalent substitution method for functions in the instruction segments by combining the effects and instruction characteristics of the functions.The experimental results show that this method can improve the performance of the functions by 27.83%on average.

关 键 词:数学库 流水线 性能 指令 等效替换 

分 类 号:TP332[自动化与计算机技术—计算机系统结构] TP38[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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