ALOHA-FP2I: Efficient Algorithms and Hardware for Multi-Mode Rounding of Floating Point to Integer

被引:0
作者
Rathor, Mahendra [1 ]
机构
[1] Devi Ahilya Univ, Sch Instrumentat, Indore, India
关键词
Binary floating point; rounding modes; hardware design; OPERATIONS; SYSTEMS;
D O I
10.1145/3701560
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Modern technology is relying on hardware accelerators to achieve enhanced performance of computing systems. In the modern computing paradigm, floating point representation of numbers has gained popularity owing to its wide dynamic range. Rounding of floating point numbers to integer is used in modern processor architectures e.g., ARM and Intel's architecture (IA) as well as in specific applications such as multimedia. However, the academic literature lacks discussion on hardware designs for rounding binary floating point numbers to integer in different rounding modes. This article presents novel efficient algorithms and hardware architecture designs for rounding binary floating point numbers to the integer for the following rounding modes: round towards zero, round up (towards positive infinity), round down (towards negative infinity), round to the nearest integer, and round to nearest even. The article also proposes an integrated multi-mode rounding (IMR) algorithm and hardware design which can be configured to a specific rounding mode among the above-mentioned five modes. This article proposes a mantissa bit of rounding (MBR) to determine the condition of rounding for the various modes. The MBR is identified on the basis of the dynamic range and precision features of floating point representation. To the best of our knowledge, we present the individual as well as an integrated hardware design for the various rounding modes for the first time in the literature. The proposed designs have been implemented on an FPGA platform to analyze the design metrics such as area, delay, and power. The results imply that the proposed designs are suitable to aid the intended hardware accelerators as they are efficient in terms of the design parameters. Moreover, this article presents the integration of the proposed rounding hardware design with the compression processor and evaluates the integration overhead which is found to be nominal (< 1%).
引用
收藏
页数:26
相关论文
共 33 条
[1]  
Altera, 2009, WP-01112-1.0, P1
[2]  
[Anonymous], 2023, Order Number: 325462-082US
[3]  
[Anonymous], 2011, ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition, ARM DDI 0406C ID112311
[4]   INTEGER ROUNDING FOR POLYMATROID AND BRANCHING OPTIMIZATION PROBLEMS [J].
BAUM, S ;
TROTTER, LE .
SIAM JOURNAL ON ALGEBRAIC AND DISCRETE METHODS, 1981, 2 (04) :416-425
[5]  
Cabeen K., 1998, Image compression and the discrete cosine transform
[6]  
Cont R., 2014, arXiv
[7]  
Dannenberg Roger B., 2002, Computer Music Journal, V26
[8]   A comparison of three rounding algorithms for IEEE floating-point multiplication [J].
Even, G ;
Seidel, PM .
IEEE TRANSACTIONS ON COMPUTERS, 2000, 49 (07) :638-650
[9]   Algorithms for Stochastically Rounded Elementary Arithmetic Operations in IEEE 754 Floating-Point Arithmetic [J].
Fasi, Massimiliano ;
Mikaitis, Mantas .
IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2021, 9 (03) :1451-1466
[10]   New Formats for Computing with Real-Numbers under Round-to-Nearest [J].
Hormigo, Javier ;
Villalba, Julio .
IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (07) :2158-2168