发明申请
US20090240753A1 METHOD, HARDWARE PRODUCT, AND COMPUTER PROGRAM PRODUCT FOR USING A DECIMAL FLOATING POINT UNIT TO EXECUTE FIXED POINT INSTRUCTIONS
有权
方法,硬件产品和计算机程序产品,用于使用十进制浮点单元执行固定点说明
- 专利标题: METHOD, HARDWARE PRODUCT, AND COMPUTER PROGRAM PRODUCT FOR USING A DECIMAL FLOATING POINT UNIT TO EXECUTE FIXED POINT INSTRUCTIONS
- 专利标题(中): 方法,硬件产品和计算机程序产品,用于使用十进制浮点单元执行固定点说明
-
申请号: US12051333申请日: 2008-03-19
-
公开(公告)号: US20090240753A1公开(公告)日: 2009-09-24
- 发明人: Steven R. Carlough , Adam B. Collura , Mark A. Erle , Wen H. Li , Eric M. Schwarz
- 申请人: Steven R. Carlough , Adam B. Collura , Mark A. Erle , Wen H. Li , Eric M. Schwarz
- 申请人地址: US NY Armonk
- 专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人: INTERNATIONAL BUSINESS MACHINES CORPORATION
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F7/38
- IPC分类号: G06F7/38
摘要:
A decimal floating point (DFP) unit is used to execute fixed point instructions. Two or more operands are accepted, wherein each operand is in a packed binary coded decimal (BCD) format. Any invalid BCD formats are detected by checking the operands for any invalid BCD codes. It is determined if an exception flag exists and, if so, outputting the flag; it is determined if a condition code exists and, if so, outputting the code. An operation is performed on the two or more operands to generate a result; wherein the operation takes place directly on BCD data, thus using the DFP unit to perform a BCD operation; appending a result sign to the result of the operation; and providing the result of the operation and the appended result sign as a result output in a packed BCD format.
公开/授权文献
信息查询