From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NupeS-000518-Kn for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:11:20 -0400 Received: from [140.186.70.92] (port=34050 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NupeO-000509-Jj for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:11:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NupeL-0006ph-Tg for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:11:15 -0400 Received: from are.twiddle.net ([75.149.56.221]:60022) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NupeL-0006pF-Mq for qemu-devel@nongnu.org; Thu, 25 Mar 2010 12:11:13 -0400 Message-ID: <4BAB8B20.4040001@twiddle.net> Date: Thu, 25 Mar 2010 09:11:12 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: WIP flush-to-zero patch [was: Re: [Qemu-devel] QEMU state of ARM NEON support.] References: <4BA7741F.60209@ispras.ru> <372ED49D-DF43-4E6C-AA3D-F4DA95746981@nokia.com> <20100325140011.GT16726@codesourcery.com> In-Reply-To: <20100325140011.GT16726@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: Juha.Riihimaki@nokia.com, qemu-devel@nongnu.org, zhur@ispras.ru 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~