From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCF06-0005d2-Mg for qemu-devel@nongnu.org; Tue, 19 Apr 2011 13:46:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCF05-0005Xm-Np for qemu-devel@nongnu.org; Tue, 19 Apr 2011 13:46:10 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:47090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCF05-0005Xi-La for qemu-devel@nongnu.org; Tue, 19 Apr 2011 13:46:09 -0400 Received: by vws17 with SMTP id 17so5276877vws.4 for ; Tue, 19 Apr 2011 10:46:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1303160412-8107-13-git-send-email-aurelien@aurel32.net> References: <1303160412-8107-1-git-send-email-aurelien@aurel32.net> <1303160412-8107-13-git-send-email-aurelien@aurel32.net> Date: Tue, 19 Apr 2011 18:46:09 +0100 Message-ID: From: Peter Maydell Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 12/20] target-i386: fix helper_fxtract() wrt softfloat List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org On 18 April 2011 22:00, Aurelien Jarno wrote: > With softfloat it's not possible to play with the overflow of an > unsigned value to get the 0 case partially correct. Use a special case > for that. Using a division to generate an infinity is the easiest way > that works for both softfloat and softfloat-native. > > Signed-off-by: Aurelien Jarno Reviewed-by: Peter Maydell -- PMM