On 10/24/2013 09:17 AM, Tom Musta wrote: > This patch adds routines to the softfloat library that are useful for > the PowerPC VSX implementation. The routines are, however, not specific > to PowerPC and are approprriate for softfloat. > > The following routines are added: > > - float32_is_denormal() returns true if the 32-bit floating point number > is denormalized. > - float64_is_denormal() returns true if the 64-bit floating point number > is denormalized. > - float32_get_unbiased_exp() returns the unbiased exponent of a 32-bit > floating point number. > - float64_get_unbiased_exp() returns the unbiased exponent of a 64-bit > floating point number. > - float32_to_uint64() converts a 32-bit floating point number to an > unsigned 64 bit number.
Reviewed-by: Richard Henderson <r...@twiddle.net> r~