[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ARM - FCVT inst] : Difference in calculated value
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [ARM - FCVT inst] : Difference in calculated value |
Date: |
Mon, 18 Aug 2014 22:12:05 +0100 |
On 18 August 2014 22:04, Gaurav Sharma <address@hidden> wrote:
> Hi Peter,
> I cross checked it with a AFM model, and the results are indeed different.
> The problem I think lies in how we treat de-normalized numbers which are too
> small to represent in half precision.
> In case of qemu
>>> if(exp < -10)
>>> return signed/unsigned zero.
> However, in case rounding is set, we ignore and we return zero. This may not
> be true and we may have a smallest possible denormalized number.
Cool. Can you provide your test case, then, please?
thanks
-- PMM