From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36473 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNs6N-0000HS-9Z for qemu-devel@nongnu.org; Wed, 01 Dec 2010 14:12:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNs6L-0003ZQ-QK for qemu-devel@nongnu.org; Wed, 01 Dec 2010 14:12:27 -0500 Received: from a.mail.sonic.net ([64.142.16.245]:38406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNs6L-0003Z1-CV for qemu-devel@nongnu.org; Wed, 01 Dec 2010 14:12:25 -0500 Message-ID: <4CF68B4D.9010401@twiddle.net> Date: Wed, 01 Dec 2010 09:52:13 -0800 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 08/12] ARM: Return correct result for single<->double conversion of NaN References: <1290538431-13170-1-git-send-email-peter.maydell@linaro.org> <1290538431-13170-9-git-send-email-peter.maydell@linaro.org> <20101129174928.GE8544@codesourcery.com> <20101129195453.GP8544@codesourcery.com> <20101201153944.GG24280@codesourcery.com> In-Reply-To: <20101201153944.GG24280@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: Peter Maydell , qemu-devel@nongnu.org On 12/01/2010 07:39 AM, Nathan Froyd wrote: > RTH (CC'd) is the expert on the Alpha bits. The Alpha cmptun is supposed to return true for both Q+SNaN. Although, Invalid Operand is supposed to be raised for SNaN, which is not happening here in helper_cmptun. Or, indeed, any of the comparison helper functions. I think I've lost the thread a bit -- is the proposal to replace the existing float*_is_nan with _is_quiet_nan and invent a new function that returns true for both Q+S? That at least would be monotonic improvement for Alpha, although as noted above not 100% correct. r~