发明申请
- 专利标题: METHOD, APPARATUS, SYSTEM FOR SINGLE-PATH FLOATING-POINT ROUNDING FLOW THAT SUPPORTS GENERATION OF NORMALS/DENORMALS AND ASSOCIATED STATUS FLAGS
- 专利标题(中): 方法,装置,用于支持正常/丹麦和相关状态标记生成的单路流量浮点流动系统
-
申请号: US13725268申请日: 2012-12-21
-
公开(公告)号: US20140181169A1公开(公告)日: 2014-06-26
- 发明人: WARREN E. FERGUSON , BRIAN J. HICKMANN , THOMAS D. FLETCHER
- 申请人: WARREN E. FERGUSON , BRIAN J. HICKMANN , THOMAS D. FLETCHER
- 主分类号: G06F17/10
- IPC分类号: G06F17/10
摘要:
A mechanism for performing single-path floating-point rounding in a floating point unit is disclosed. A system of the disclosure includes a memory and a processing device communicably coupled to the memory. In one embodiment, the processing device comprises a floating point unit (FPU) to generate a plurality of status flags for a rounded value of a finite nonzero number. The plurality of status flags are generated based on the finite nonzero number without calculating the rounded value of the finite nonzero number. The plurality of status flags comprises an overflow flag and an underflow flag. The FPU determines whether a rounded value should be calculated for the finite nonzero number based on the plurality of status flags and whether the overflow flag is asserted. Upon determining that the rounded value should be calculated for the finite nonzero number based on the plurality of status flags and that the overflow flag is asserted, the FPU calculates the rounded value of the finite nonzero number based on an overflow rounding. Upon determining that the rounded value should be calculated for the finite nonzero number based on the plurality of status flags and that the overflow flag is not asserted, the FPU calculates the rounded value of the finite nonzero number based on a blended reduced precision rounding.
公开/授权文献
信息查询