From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB5Ya-0002cA-KB for qemu-devel@nongnu.org; Mon, 21 Dec 2015 13:51:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB5YX-0000Kc-Ew for qemu-devel@nongnu.org; Mon, 21 Dec 2015 13:51:40 -0500 Received: from out11.biz.mail.alibaba.com ([205.204.114.131]:46768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB5YW-0000KL-W9 for qemu-devel@nongnu.org; Mon, 21 Dec 2015 13:51:37 -0500 Message-ID: <56784AEA.1030007@emindsoft.com.cn> Date: Tue, 22 Dec 2015 02:54:34 +0800 From: Chen Gang MIME-Version: 1.0 References: <56698865.8050901@emindsoft.com.cn> <566988EA.109@emindsoft.com.cn> <5669B333.1080405@twiddle.net> <5669F94B.8060209@emindsoft.com.cn> <5676C98C.4040101@emindsoft.com.cn> <5678145A.2030408@twiddle.net> In-Reply-To: <5678145A.2030408@twiddle.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 2/4] target-tilegx: Add single floating point implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , Peter Maydell , Chris Metcalf Cc: chenwei@emindsoft.com.cn, qemu-devel On 12/21/15 23:01, Richard Henderson wrote: > On 12/20/2015 07:30 AM, Chen Gang wrote: >> And we have to still check TILEGX_F_CALC_CVT, for they are really two >> different format: TILEGX_F_CALC_CVT has no HBIT, but TILEGX_F_CALC_NCVT >> has HBIT (which we need process it specially). > > The both do, in that you re-normalize to produce that HBIT. > That's the whole point. > Oh, yes. But all together, we want to normalize the float value in fsingle_pack2, so we can not use float64_to_float32(), it assumes the input is already normalized (if we can let the input normalized, we will return directly). Thanks. -- Chen Gang (陈刚) Open, share, and attitude like air, water, and life which God blessed