发明授权
- 专利标题: Apparatus and method for rounding operands
- 专利标题(中): 用于舍入操作数的装置和方法
-
申请号: US814361申请日: 1991-12-23
-
公开(公告)号: US5258943A公开(公告)日: 1993-11-02
- 发明人: Carlos Gamez , Roland Pang
- 申请人: Carlos Gamez , Roland Pang
- 申请人地址: CA Santa Clara
- 专利权人: Intel Corporation
- 当前专利权人: Intel Corporation
- 当前专利权人地址: CA Santa Clara
- 主分类号: G06F7/38
- IPC分类号: G06F7/38 ; G06F7/483 ; G06F7/533 ; G06F7/57
摘要:
A microprocessor which includes means for rounding a 68 bit binary number. The rounding bit is calculated based on the precision, rounding mode, and the Guard, Round, and Sticky bits. One path assumes that the number will not be rounded up and pads zeros to the fraction bits according to the precision. Another path assumes that the number will be rounded up. Ones instead of zeros are padded, again, according to the precision. Then, the padded number is incremented by one. Based on the rounding bit, either the non-rounded up path or the rounded up path will be chosen. Thereby, a correctly rounded number with the trailing bits following the least significant bit of the selected precision being zeros results.
公开/授权文献
信息查询