arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.21959cs.AR
收藏

多项浮点加法器中的在线对齐与加法

Online Alignment and Addition in Multi-Term Floating-Point Adders

Kosmas Alexandridis, Giorgos Dimitrakopoulos

AI总结:

针对多项浮点加法中串行对齐效率低的问题,提出一种可并行的在线融合增量算法及对应结合算符,实验验证其能改善延迟,或节省3%-23%的面积与4%-26%的功耗。

摘要:

多项浮点加法常见于向量点积计算、矩阵乘法及其他形式的浮点数据聚合场景。多项浮点加法的一个关键步骤是在相加前对齐各浮点项的尾数。传统对齐操作是串行执行的:先找出所有指数的最大值,再根据每个项的指数与最大指数的差值移位其尾数。与常规做法不同,本研究提出了一种新的在线算法,将最大指数识别、各尾数的对齐移位以及它们的加法拆分为多个可并行计算的融合增量步骤。每个融合步骤由一种新的结合算符实现,支持对任意数量操作数进行增量对齐与加法。实验结果表明,采用所提出的对齐-加法算符实现多项浮点加法器,可改善延迟或显著节省面积与功耗。其中面积节省幅度为3%-23%,功耗节省幅度为4%-26%。

英文摘要:

Multi-term floating-point addition appears in vector dot-product computations, matrix multiplications, and other forms of floating-point data aggregation. A critical step in multi-term floating point addition is the alignment of fractions of the floating-point terms before adding them. Alignment is executed serially by identifying first the maximum of all exponents and then shifting the fraction of each term according to the difference of its exponent from the maximum one. Contrary to common practice, this work proposes a new online algorithm that splits the identification of the maximum exponent, the alignment shift for each fraction, and their addition to multiple fused incremental steps that can be computed in parallel. Each fused step is implemented by a new associative operator that allows the incremental alignment and addition for arbitrary number of operands. Experimental results show that employing the proposed align-and-add operators for the implementation of multi-term floating point adders can improve delay or save significant area and power. The achieved area and power savings range between 3%-23% and 4%-26%, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑