Conversion of a normalized n-bit value into a normalized m-bit value
AssigneeImagination Technologies Limited
InventorThomas Rose
Life of this patent
Estimating the term…
Loading patent…
AssigneeImagination Technologies Limited
InventorThomas Rose
Estimating the term…
A normalized n-bit value is converted into a normalized m-bit value in accordance with a predetermined rounding mode. An initial m-bit value is determined, where the bits of the initial m-bit value are equal to the m most significant bits of a concatenation of one or more copies of a group of one or more bits derived from the normalized n-bit value. An output state is selected based on bits of the normalized n-bit value and in accordance with the predetermined rounding mode. The output state indicates how the normalized m-bit value is to be determined from the initial m-bit value. In accordance with the selected output state, the normalized m-bit value is determined to be equal to one of a plurality of candidate m-bit values, wherein the plurality of candidate m-bit values consists of the initial m-bit value and at least one of: (i) the initial m-bit value incremented by one, and (ii) the initial m-bit value decremented by one.
A method, implemented in logic, of converting a normalized n-bit value into a normalized m-bit value in accordance with a predetermined rounding mode, the method comprising:
A processing unit comprising logic configured to convert a normalized n-bit value into a normalized m-bit value in accordance with a predetermined rounding mode, the logic comprising:
A computer readable storage medium having encoded thereon computer readable program code for generating logic configured to convert a normalized n-bit value into a normalized m-bit value in accordance with a predetermined rounding mode by:
Dependencies are inferred from the claim text.