[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] softfloat: Enable run-time-configurable mea
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] softfloat: Enable run-time-configurable meaning of signaling NaN bit |
Date: |
Mon, 4 Apr 2016 16:37:23 -0300 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Apr 04, 2016 at 02:31:47PM +0100, Peter Maydell wrote:
> On 4 April 2016 at 14:21, Aleksandar Markovic
> <address@hidden> wrote:
> > B. arm - explicitely sets other fields of float_status,
> > explicit invocation of set_snan_bit_is_one(0) added
>
> We zero the float_status structs on reset, because they are earlier
> in the CPUARMState structure than the 'features' field (and so the
> memset() in arm_cpu_reset() will clear them). So you don't
> need to explicitly zero a field like this. I expect the other
> architectures are the same.
Even if it is not zeroed on reset, it is zeroed on object_new().
Isn't that enough?
--
Eduardo