[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/4] target-tilegx: Add single floating point
From: |
Chen Gang |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/4] target-tilegx: Add single floating point implementation |
Date: |
Tue, 22 Dec 2015 02:54:34 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
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