For use in a processor having integer and floating point execution cores, logic
circuitry for, and a method of, converting negative numbers from floating point
notation to integer notation. In one embodiment, the logic circuitry includes:
(1) a shifter that receives a number in floating point notation and shifts a fraction
portion of the received number as a function of an exponent portion thereof to
yield a shifted fraction portion and rounding data, (2) a one's complementer, coupled
to the shifter, that inverts the shifted fraction portion to yield an unincremented
inverted shifted fraction portion, (3) an incrementer, coupled to the one's complementer,
that increments the unincremented inverted shifted fraction portion to yield an
incremented inverted shifted fraction portion and (4) a multiplexer, coupled to
the one's complementer and the incrementer, that selects one of the unincremented
inverted shifted fraction portion and the incremented inverted shifted fraction
portion based on the rounding data thereby to yield the received number in integer notation.