From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAOdf-00053A-8K for qemu-devel@nongnu.org; Thu, 14 Apr 2011 11:39:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAOde-0004C5-9E for qemu-devel@nongnu.org; Thu, 14 Apr 2011 11:39:23 -0400 Received: from mail-vx0-f173.google.com ([209.85.220.173]:35171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAOde-0004Bx-6d for qemu-devel@nongnu.org; Thu, 14 Apr 2011 11:39:22 -0400 Received: by vxb41 with SMTP id 41so1639461vxb.4 for ; Thu, 14 Apr 2011 08:39:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4DA70F43.90701@twiddle.net> References: <1302645571-20500-1-git-send-email-aurelien@aurel32.net> <1302645571-20500-9-git-send-email-aurelien@aurel32.net> <4DA5C372.5090807@twiddle.net> <4DA70F43.90701@twiddle.net> Date: Thu, 14 Apr 2011 16:39:21 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 08/19] target-alpha: use new float64_unordered() function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, Aurelien Jarno On 14 April 2011 16:14, Richard Henderson wrote: > On 04/14/2011 02:14 AM, Peter Maydell wrote: >> While we're on the subject of Alpha and flush-to-zero modes, >> do you know what exception bits should get set when Alpha >> flushes a denormal output (not input) to zero? > ... >> I think Alpha should set Inexact and not Underflow, but >> I'm not sure -- can you confirm/deny? > > Deny. > > Page B-8, Add Sub Output Exceptions, > > =C2=A0Exponent underflow and disabled: > =C2=A0 =C2=A0Supply +0, no exception delivered to user. > > =C2=A0Exponent underflow and enabled: > =C2=A0 =C2=A0Supply +-MIN denorm, Underflow delivered to user. > > =C2=A0 =C2=A0Footnote 3, Overflow and Underflow have priority over Inexac= t. Thanks. Does "no exception delivered to user" mean also "and do not set FPCR bit UNF" ? The reason I thought it might set Inexact is that I was looking at page 4-79, which says: "If both the UNFD (underflow disable) bit and the UNDZ (underflow to zero) bit are set in the FPCR, the implementation sets the result of an underflow operation to a true zero result. The zeroing of a denormal result by UNDZ must also be treated as an inexact result." -- PMM