From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwua8-0005do-0W for qemu-devel@nongnu.org; Thu, 12 Nov 2015 11:18:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zwua4-0002R7-Si for qemu-devel@nongnu.org; Thu, 12 Nov 2015 11:18:39 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zwua4-0002Qt-MR for qemu-devel@nongnu.org; Thu, 12 Nov 2015 11:18:36 -0500 Received: by wmww144 with SMTP id w144so207462256wmw.1 for ; Thu, 12 Nov 2015 08:18:36 -0800 (PST) Sender: Richard Henderson References: <5644A3E5.1040904@twiddle.net> From: Richard Henderson Message-ID: <5644BBD7.4090109@twiddle.net> Date: Thu, 12 Nov 2015 17:18:31 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; 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 On 11/12/2015 05:12 PM, Chen Gang wrote: > On 11/12/15 22:36, Richard Henderson wrote: >>> + 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. >> > > Excuse me, my English is not quite well, I am not quite understand your > meaning. > > Does the code above have issues? > Please read ./CODING_STYLE, and use ./scripts/checkpatch.pl. r~