发明名称 METHOD FOR FLOATING POINT ROUND TO INTEGER OPERATION
摘要 An apparatus and method for computing a rounded floating point number. A floating point unit (FPU) receives an instruction to round a floating point number to a nearest integral value and retrieves a binary source operand having an exponent of a fixed first number of bits and a mantissa of a fixed second number of bits. If the unbiased exponent value is greater than or equal to zero and less than the fixed second number, the FPU generates a mask having N consecutive ‘1’ bits beginning with the least significant bit and whose remaining bits have a value of ‘0’, where N is equal to the fixed second number minus the unbiased exponent value. The FPU computes a bitwise OR of the source operand with the mask, increments the result if the instruction is to round up, and computes a bitwise AND of the result with the inverse of the mask.
申请公布号 US2011055307(A1) 申请公布日期 2011.03.03
申请号 US20090549724 申请日期 2009.08.28
申请人 HURD KEVIN;LIEU DARYL;GOVEAS KELVIN;HILKER SCOTT 发明人 HURD KEVIN;LIEU DARYL;GOVEAS KELVIN;HILKER SCOTT
分类号 G06F7/483 主分类号 G06F7/483
代理机构 代理人
主权项
地址