On 03/25/2010 07:00 AM, Nathan Froyd wrote: > FWIW, below is a WIP progress patch to implement flush-to-zero better. > The motivating observation is that many chips feature separate > flush-input and flush-output flags and QEMU's fpu/ library only > implements flush-output. So the bulk of the patch is: > > - replacing the ad-hoc unpacking of float values into (sign, exponent, > significand) with a centralized routine that will apply flush-to-zero > on input values; > > - splitting float_status.flush_to_zero into separate input/output flags; > > - modifying targets to set input/output flags appropriately.
Excellent. This should allow me to clean up the Alpha port a bit. Specifically wrt helper_ieee_input*. r~