摘要
基础数学函数库是高性能计算机中最基础、最核心的底层软件之一,它的性能直接决定了上层计算程序的运行效率.现版本的国产申威基础数学库中部分函数使用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.
作者
吴凡
王磊
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)
出处
《计算机系统应用》
2021年第7期165-171,共7页
Computer Systems & Applications
关键词
数学库
流水线
性能
指令
等效替换
mathematic library
pipeline
performance
instruction
equivalent substitution