本文已被:浏览 668次 下载 1432次
Received:November 07, 2020 Revised:December 12, 2020
Received:November 07, 2020 Revised:December 12, 2020
中文摘要: 基础数学函数库是高性能计算机中最基础、最核心的底层软件之一, 它的性能直接决定了上层计算程序的运行效率. 现版本的国产申威基础数学库中部分函数使用rfpcr和wfpcr指令导致流水线中断, 降低了函数的性能. 针对这个问题, 本文结合函数的功能和指令特性, 提出指令段功能等效替换方法. 实验表明, 运用该方法, 使得函数性能平均提高27.83%.
Abstract: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.
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
吴凡,王磊.基于申威1621函数库的断流水指令替换方法.计算机系统应用,2021,30(7):165-171
WU Fan,WANG Lei.Pipeline Interrupt Instruction Replacing Method for Mathematic Library Based on SW1621 Processor.COMPUTER SYSTEMS APPLICATIONS,2021,30(7):165-171
吴凡,王磊.基于申威1621函数库的断流水指令替换方法.计算机系统应用,2021,30(7):165-171
WU Fan,WANG Lei.Pipeline Interrupt Instruction Replacing Method for Mathematic Library Based on SW1621 Processor.COMPUTER SYSTEMS APPLICATIONS,2021,30(7):165-171