From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwszH-0004no-3t for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:36:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwszB-00007D-QI for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:36:31 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:33351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwszB-000073-Kk for qemu-devel@nongnu.org; Thu, 12 Nov 2015 09:36:25 -0500 Received: by wmec201 with SMTP id c201so36070345wme.0 for ; Thu, 12 Nov 2015 06:36:25 -0800 (PST) Sender: Richard Henderson References: From: Richard Henderson Message-ID: <5644A3E5.1040904@twiddle.net> Date: Thu, 12 Nov 2015 15:36:21 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] target-tilegx: Implement fpu single floating point List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chen Gang , Peter Maydell , Chris Metcalf Cc: qemu-devel > + if (sfmt.calc == TILEGX_F_CALC_CVT) { > + if (sfmt.sign) > + f.f = int32_to_float32(0 - sfmt.mantissa, fp_status); > + else > + f.f = uint32_to_float32(sfmt.mantissa, fp_status); > + } else { Formatting. You really should know better by now. I'm not even going to look at the rest. r~