首页 | 本学科首页   官方微博 | 高级检索  
     

基于一阶泰勒级数查表法单精度倒数的设计与实现
引用本文:晏敏,何欣,李沙,祝龙,赵丽. 基于一阶泰勒级数查表法单精度倒数的设计与实现[J]. 计算机工程与科学, 2017, 39(7): 1269-1272
作者姓名:晏敏  何欣  李沙  祝龙  赵丽
作者单位:;1.湖南大学物理与微电子科学学院;2.湖南城市学院市政与测绘工程学院
摘    要:在分析了单精度倒数算法在图形处理器中存在的不足的基础上,设计了一阶泰勒级数单精度倒数算法。与传统算法相比,在资源消耗、运算周期和效率方面得到了有效改善。本浮点倒数算法的主要逻辑模块由一个24位整数加法器、一个ROM和一个24位乘法器组成。将在[1,2)范围的尾数平均分为4 096个区间,将每个区间起始点倒数平方放入查找表,并对每个区间采用一阶泰勒级数计算倒数值。仿真结果表明:仿真的结果与理论结果一致,满足单精度浮点数的精度要求。目前此算法已经成功流片,应用于国产第三代图形处理器JM7200。

关 键 词:图形处理器  一阶泰勒级数  查表法  单精度倒数
收稿时间:2015-09-21
修稿时间:2017-07-25

Design and implementation of a single precision inversebased on the first order Taylor series look-up table method
YAN Min,HE Xin,LI Sha,ZHU Long,ZHAO Li. Design and implementation of a single precision inversebased on the first order Taylor series look-up table method[J]. Computer Engineering & Science, 2017, 39(7): 1269-1272
Authors:YAN Min  HE Xin  LI Sha  ZHU Long  ZHAO Li
Affiliation:(1.College of Physics and Microelectronics Science,Hunan University,Changsha 410082;2.College of Municipal and Surveying and Mapping Engineering,Hunan City University,Yiyang 413099,China)
Abstract:Based on the analysis on the existing problems in the single precision inverse algorithm, we design and implement a single precision inverse based on the first order Taylor series. Compared with the traditional algorithm, the resource consumption, operation cycle and efficiency are improved. The main logic module of this floating point algorithm is composed of a 24 bit integer adder, a ROM and a 24 bit multiplier. The mantissa in range of [1, 2) is divided to 4096 intervals on average, and the reciprocal square of the starting point of each interval is stored in a lookup table. Then the first order Taylor series is applied to compute the inverse value of each interval. Simulation results are consistent with the theoretical results, which meets the accuracy requirement of the single precision. This algorithm has been successfully applied to the third generation of GPU JM7200.
Keywords:GPU  first order Taylor series  look-up table  single precision inverse  
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号