发明名称 |
ENCODING DENSELY PACKED DECIMALS |
摘要 |
According to one aspect of the present disclosure, a method and technique for encoding densely packed decimals is disclosed. The method includes: executing a floating point instruction configured to perform a floating point operation on decimal data in a binary coded decimal (BCD) format; determining whether a result of the operation includes a rounded mantissa overflow; and responsive to determining that the result of the operation includes a rounded mantissa overflow, compressing a result of the operation from the BCD-formatted decimal data to decimal data in a densely packed decimal (DPD) format by shifting select bit values of the BCD formatted decimal data by one digit to select bit positions in the DPD format.
|
申请公布号 |
US2013124588(A1) |
申请公布日期 |
2013.05.16 |
申请号 |
US201113296273 |
申请日期 |
2011.11.15 |
申请人 |
KROENER MICHAEL K.;LAYER CHRISTOPHE J.;LEBER PETRA;MUELLER SILVIA M.;INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
KROENER MICHAEL K.;LAYER CHRISTOPHE J.;LEBER PETRA;MUELLER SILVIA M. |
分类号 |
G06F7/483 |
主分类号 |
G06F7/483 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|