From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4GSV-0007Y5-Sl for qemu-devel@nongnu.org; Mon, 28 Mar 2011 13:42:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4GSU-0006rW-6D for qemu-devel@nongnu.org; Mon, 28 Mar 2011 13:42:31 -0400 Received: from b.mail.sonic.net ([64.142.19.5]:34350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4GST-0006r7-VP for qemu-devel@nongnu.org; Mon, 28 Mar 2011 13:42:30 -0400 Message-ID: <4D90C874.4060309@twiddle.net> Date: Mon, 28 Mar 2011 10:42:12 -0700 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 14/17] s390x: Implement opcode helpers References: <1300982333-12802-1-git-send-email-agraf@suse.de> <1300982333-12802-15-git-send-email-agraf@suse.de> <4D90C428.2030101@suse.de> In-Reply-To: <4D90C428.2030101@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Peter Maydell , QEMU-devel Developers , Aurelien Jarno On 03/28/2011 10:23 AM, Alexander Graf wrote: > I just checked the macros there and it looks like > float32_compare_quiet returns eq when both numbers are NaN. No it doesn't -- a == b will never be true for either operand as NaN. Have a look at the "real" softfloat version anyway, not the softfloat-native version. This is hiding behind macros; look for "float ## s ## _compare_internal". r~